Class TestSuiteResult
Represents the result of running a test suite
public class TestSuiteResult : TestResult, ITestResult, IXmlNodeBuilder
- Inheritance
-
TestSuiteResult
- Implements
- Inherited Members
Constructors
TestSuiteResult(TestSuite)
Construct a TestSuiteResult base on a TestSuite
public TestSuiteResult(TestSuite suite)
Parameters
suite
TestSuiteThe TestSuite to which the result applies
Properties
Children
Gets the collection of child results.
public override IEnumerable<ITestResult> Children { get; }
Property Value
FailCount
Gets the number of test cases that failed when running the test and all its children.
public override int FailCount { get; }
Property Value
HasChildren
Indicates whether this result has any child results.
public override bool HasChildren { get; }
Property Value
InconclusiveCount
Gets the number of test cases that were inconclusive when running the test and all its children.
public override int InconclusiveCount { get; }
Property Value
PassCount
Gets the number of test cases that passed when running the test and all its children.
public override int PassCount { get; }
Property Value
SkipCount
Gets the number of test cases that were skipped when running the test and all its children.
public override int SkipCount { get; }
Property Value
TotalCount
Gets the number of test cases that executed when running the test and all its children.
public override int TotalCount { get; }
Property Value
WarningCount
Gets the number of test cases that passed when running the test and all its children.
public override int WarningCount { get; }
Property Value
Methods
AddResult(ITestResult)
Adds a child result to this result, setting this result's ResultState to Failure if the child result failed.
public virtual void AddResult(ITestResult result)
Parameters
result
ITestResultThe result to be added