Skip to content
ConsoleMonster

API Reference

Class

TestRunSnapshot

Namespace ConsoleMonster.TestRuns
Assembly ConsoleMonster
Modifiers sealed

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

Accepted by parameters 4

Properties

public Int32? Total { get; } #

The planned test count, once discovery has finished.

public Int32 Passed { get; } #

Tests passed.

public Int32 Failed { get; } #

Tests failed.

public Int32 Skipped { get; } #

Tests skipped.

public Int32 Inconclusive { get; } #

Tests inconclusive.

public Int32 NotRun { get; } #

Tests not run.

public Int32 Done { get; } #

Tests that ended, whatever the outcome.

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 String? CurrentName { get; } #

The running test, or null.

public IReadOnlyList<String> CurrentBlocks { get; } #

The running test's blocks.

public String? CurrentContainer { get; } #

The running container's key, or null.

public TimeSpan Elapsed { get; } #

The run time (fixed once the run finished).

public Boolean IsFinished { get; } #

Whether the run finished.

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.