Table of Contents

Class AfterAllInfo

Namespace
Microsoft.Accordant
Assembly
Accordant.Operations.dll

Information provided to AfterAll hooks.

public class AfterAllInfo
Inheritance
AfterAllInfo
Inherited Members

Constructors

AfterAllInfo(int, int, int, int, TimeSpan, IReadOnlyList<TestCaseExecutionResult>, ISpec)

public AfterAllInfo(int totalTests, int passed, int failed, int skipped, TimeSpan totalDuration, IReadOnlyList<TestCaseExecutionResult> results, ISpec spec)

Parameters

totalTests int
passed int
failed int
skipped int
totalDuration TimeSpan
results IReadOnlyList<TestCaseExecutionResult>
spec ISpec

Properties

Failed

Number of tests that failed.

public int Failed { get; }

Property Value

int

Passed

Number of tests that passed.

public int Passed { get; }

Property Value

int

Results

Results for each executed test case.

public IReadOnlyList<TestCaseExecutionResult> Results { get; }

Property Value

IReadOnlyList<TestCaseExecutionResult>

Skipped

Number of tests that were skipped (e.g., due to StopOnFirstFailure).

public int Skipped { get; }

Property Value

int

Spec

The spec being tested.

public ISpec Spec { get; }

Property Value

ISpec

TotalDuration

Total duration of the test run.

public TimeSpan TotalDuration { get; }

Property Value

TimeSpan

TotalTests

Total number of tests.

public int TotalTests { get; }

Property Value

int