Table of Contents

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

bool

FailedCount

Gets the number of examples that failed.

public int FailedCount { get; }

Property Value

int

PassedCount

Gets the number of examples that passed.

public int PassedCount { get; }

Property Value

int

Results

Gets the list of individual example results.

public IReadOnlyList<ExampleResult> Results { get; }

Property Value

IReadOnlyList<ExampleResult>

TotalCount

Gets the total number of examples executed.

public int TotalCount { get; }

Property Value

int

Methods

AssertAllPassed()

Throws an exception if any example failed.

public void AssertAllPassed()

Exceptions

AggregateException

Thrown when one or more examples failed.