PlainTextFormatter Class

Summary

Prints information about running tests in plain text.
Assembly
NAnt.NUnit1.dll
Namespace
NAnt.NUnit1.Types
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IResultFormatter"] click Interface0 "/api/NAnt.NUnit1.Types/IResultFormatter" Type-.->Interface1["ITestListener"] Type["PlainTextFormatter"] class Type type-node

Syntax

public class PlainTextFormatter : IResultFormatter, ITestListener

Constructors

Name Summary
PlainTextFormatter()

Properties

Name Value Summary
Writer TextWriter

Methods

Name Value Summary
AddError(ITest, Exception) void
AddFailure(ITest, AssertionFailedError) void
EndTest(ITest) void
EndTestSuite(TestResultExtra) void
Called when the whole test suite has ended.
SetOutput(TextWriter) void
Sets the Writer the formatter is supposed to write its results to.
StartTest(ITest) void
StartTestSuite(NUnitTestData) void
Called when the whole test suite has started.