Table of Contents

Class StepIO

Namespace
TinyBDD
Assembly
TinyBDD.dll

Captures the input and output state for a single BDD step execution.

public record StepIO : IEquatable<StepIO>
Inheritance
StepIO
Implements
Inherited Members

Constructors

StepIO(string, string, object?, object?)

Captures the input and output state for a single BDD step execution.

public StepIO(string Kind, string Title, object? Input, object? Output)

Parameters

Kind string

The BDD phase: Given, When, or Then.

Title string

The step title.

Input object

The input value to the step, if any.

Output object

The output value from the step, if any.

Properties

Input

The input value to the step, if any.

public object? Input { get; init; }

Property Value

object

Kind

The BDD phase: Given, When, or Then.

public string Kind { get; init; }

Property Value

string

Output

The output value from the step, if any.

public object? Output { get; init; }

Property Value

object

Title

The step title.

public string Title { get; init; }

Property Value

string