Class RunSummary
Represents the statistical summary from a run of one or more tests.
Namespace: Xunit.Sdk
Assembly: xunit.core.dll
Syntax
public class RunSummary : object
Fields
| Improve this Doc View SourceFailed
The number of failed tests.
Declaration
public int Failed
Field Value
Type | Description |
---|---|
Int32 |
Skipped
The number of skipped tests.
Declaration
public int Skipped
Field Value
Type | Description |
---|---|
Int32 |
Time
The total time taken to run the tests, in seconds.
Declaration
public decimal Time
Field Value
Type | Description |
---|---|
Decimal |
Total
The total number of tests run.
Declaration
public int Total
Field Value
Type | Description |
---|---|
Int32 |
Methods
| Improve this Doc View SourceAggregate(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. |