Table of Contents

Class StringBddReporter

Namespace
TinyBDD
Assembly
TinyBDD.dll

Reports BDD test execution results by appending formatted strings to an internal buffer. This reporter captures feature/step information during scenario execution, providing a compact text representation of the tests performed.

public sealed class StringBddReporter : IBddReporter
Inheritance
StringBddReporter
Implements
Inherited Members

Methods

ToString()

Converts the BDD reporter instance into a compact text representation of the test execution results. Returns a formatted string containing feature and scenario information, step titles and statuses (OK/FAIL).

public override string ToString()

Returns

string

A string representing the complete BDD test report with embedded feature names, scenario descriptions, steps execution status, and any error messages.

WriteLine(string)

Appends a formatted string to an internal buffer for BDD test reporting. This method writes a line of text (with automatic newline appending) to the report content buffer.

public void WriteLine(string message)

Parameters

message string

The message to be written, typically one step description or feature information