Class ExampleResult
- Namespace
- TinyBDD
- Assembly
- TinyBDD.dll
Represents the result of a single example execution in a data-driven scenario.
public sealed class ExampleResult
- Inheritance
-
ExampleResult
- Inherited Members
Properties
Context
Gets the scenario context for this example's execution.
public ScenarioContext Context { get; }
Property Value
Data
Gets the example data that was used for this execution.
public object? Data { get; }
Property Value
Exception
Gets the exception that caused this example to fail, if any.
public Exception? Exception { get; }
Property Value
Index
Gets the zero-based index of this example in the examples collection.
public int Index { get; }
Property Value
Passed
Gets a value indicating whether this example passed all assertions.
public bool Passed { get; }