Table of Contents

Class TestCaseResult

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

Represents the result of running a single test case.

public class TestCaseResult : TestResult, ITestResult, IXmlNodeBuilder
Inheritance
TestCaseResult
Implements
Inherited Members

Constructors

TestCaseResult(TestMethod)

Construct a TestCaseResult based on a TestMethod

public TestCaseResult(TestMethod test)

Parameters

test TestMethod

A TestMethod to which the result applies.

Properties

Children

Gets the collection of child results.

public override IEnumerable<ITestResult> Children { get; }

Property Value

IEnumerable<ITestResult>

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

HasChildren

Indicates whether this result has any child results.

public override bool HasChildren { get; }

Property Value

bool

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

TotalCount

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

public override int TotalCount { get; }

Property Value

int

WarningCount

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

public override int WarningCount { get; }

Property Value

int