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
KindstringThe BDD phase:
Given,When, orThen.TitlestringThe step title.
InputobjectThe input value to the step, if any.
OutputobjectThe output value from the step, if any.
Properties
Input
The input value to the step, if any.
public object? Input { get; init; }
Property Value
Kind
The BDD phase: Given, When, or Then.
public string Kind { get; init; }
Property Value
Output
The output value from the step, if any.
public object? Output { get; init; }
Property Value
Title
The step title.
public string Title { get; init; }