NUnitTestRunner Class

Assembly
NAnt.NUnit1.dll
Namespace
NAnt.NUnit1.Tasks
Base Types
  • BaseTestRunner
graph BT Type-->Base0["BaseTestRunner"] Type["NUnitTestRunner"] class Type type-node

Syntax

public class NUnitTestRunner : BaseTestRunner

Constructors

Properties

Name Value Summary
Formatters IResultFormatterCollection
Gets the collection of registered formatters.
ResultCode RunnerResult
Gets the result of the test.

Methods

Name Value Summary
AddError(ITest, Exception) void
AddFailure(ITest, AssertionFailedError) void
CreateFormatter(FormatterType, FileInfo) IResultFormatter
CreateFormatters(NUnitTestData, string, bool) void
Creates the formatters to be used when running this test.
EndTest(ITest) void
GetOutput(FormatterData, NUnitTestData) FileInfo
Returns the output file or null if does not use a file.
NeedsRunning() bool
Determines if the unit test needs running.
Run(string, bool) void
Runs a Suite extracted from a TestCase subclass.
RunFailed(string) void
StartTest(ITest) void