TestRunSnapshot
ConsoleMonster.TestRuns
A consistent copy of a TestRun at one moment.
Inheritance
- object
- TestRunSnapshot
Usage
Explore 6 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 5
- Constructor TestRunSummary.TestRunSummary
- Method TestRunText.Heartbeat
- Method TestRunText.SummaryLine
- Method TestRunText.Totals
- Method TestRunView.Build
Inherited Methods
Properties
public IReadOnlyList<TestRecord> Investigations { get; } #The results to investigate, in the order they ended.
public int Errors { get; } #Tests that could not run to a verdict (StatusKind.Error).
public int Investigate { get; } #Tests to investigate (StatusKind.Investigate).
public IReadOnlyList<TestGroupState> Groups { get; } #The groups the records named (TestRecord.Group) in the order they first appeared; empty when none did.
public IReadOnlyList<TestReasonCount> Reasons { get; } #Skipped and not-run records counted by reason, in the order each reason first appeared.
public Severity? WorstSeverity { get; } #The worst severity among the records that did not pass, or null.
public bool HasSeverity { get; } #Whether any record had a severity, so a summary shows the severity column.
public IReadOnlyList<StatusKind> Outcomes { get; } #The outcome of every test that ended, in the order they ended (for an outcome grid).
public TimeSpan? CurrentStarted { get; } #When the running test started (run time), or null.
public int? 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 int BlockFailures { get; } #Block failures (setup or teardown outside tests).
public StatusKind Status { get; } #The overall status: running, then fail, error, investigate, warn, skip, not run or pass.