Show / Hide Table of Contents

Class RunSummary

Represents the statistical summary from a run of one or more tests.

Inheritance
Object
RunSummary
Namespace: Xunit.Sdk
Assembly: xunit.core.dll
Syntax
public class RunSummary : object

Fields

| Improve this Doc View Source

Failed

The number of failed tests.

Declaration
public int Failed
Field Value
Type Description
Int32
| Improve this Doc View Source

Skipped

The number of skipped tests.

Declaration
public int Skipped
Field Value
Type Description
Int32
| Improve this Doc View Source

Time

The total time taken to run the tests, in seconds.

Declaration
public decimal Time
Field Value
Type Description
Decimal
| Improve this Doc View Source

Total

The total number of tests run.

Declaration
public int Total
Field Value
Type Description
Int32

Methods

| Improve this Doc View Source

Aggregate(RunSummary)

Adds a run summary's totals into this run summary.

Declaration
public void Aggregate(RunSummary other)
Parameters
Type Name Description
RunSummary other

The run summary to be added.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX