Class ExamplesResult
- Namespace
- TinyBDD
- Assembly
- TinyBDD.dll
Aggregated result from data-driven scenario execution.
public sealed class ExamplesResult
- Inheritance
-
ExamplesResult
- Inherited Members
Properties
AllPassed
Gets a value indicating whether all examples passed.
public bool AllPassed { get; }
Property Value
FailedCount
Gets the number of examples that failed.
public int FailedCount { get; }
Property Value
PassedCount
Gets the number of examples that passed.
public int PassedCount { get; }
Property Value
Results
Gets the list of individual example results.
public IReadOnlyList<ExampleResult> Results { get; }
Property Value
TotalCount
Gets the total number of examples executed.
public int TotalCount { get; }
Property Value
Methods
AssertAllPassed()
Throws an exception if any example failed.
public void AssertAllPassed()
Exceptions
- AggregateException
Thrown when one or more examples failed.