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

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