API Reference
Class
TestRunSnapshot
A consistent copy of a TestRun at one moment.
Inheritance
- Object
- TestRunSnapshot
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Method TestRun.Snapshot
Accepted by parameters 4
- Constructor TestRunSummary.TestRunSummary
- Method TestRunText.SummaryLine
- Method TestRunText.Totals
- Method TestRunView.Build
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public Int32? Total { get; } #The planned test count, once discovery has finished.
public IReadOnlyList<TestContainerState> Containers { get; } #Containers in the order they started.
public IReadOnlyList<TestRecord> Failures { get; } #Failures with a message, and block failures, in the order they happened.
public IReadOnlyList<TestRecord> Slowest { get; } #The slowest tests, slowest first.
public IReadOnlyList<Double> Durations { get; } #Durations of the tests that ran, in milliseconds.
public IReadOnlyList<String> CurrentBlocks { get; } #The running test's blocks.
public String? CurrentContainer { get; } #The running container's key, or null.
public Int32 BlockFailures { get; } #Block failures (setup or teardown outside tests).
public StatusKind Status { get; } #The overall status: running, then fail, warn, skip or pass.