Table of Contents

Class TestSuiteResult

Namespace
NUnit.Framework.Internal
Assembly
nunit.framework.dll

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 TestSuite

The TestSuite to which the result applies

Properties

FailCount

Gets the number of test cases that failed when running the test and all its children.

public override int FailCount { get; }

Property Value

int

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

int

PassCount

Gets the number of test cases that passed when running the test and all its children.

public override int PassCount { get; }

Property Value

int

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

int

Methods

AddResult(ITestResult)

Add a child result

public override void AddResult(ITestResult result)

Parameters

result ITestResult

The child result to be added