LogFormatter Class

Summary

Prints information about running tests directly to the build log.
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["LogFormatter"] class Type type-node

Syntax

public class LogFormatter : IResultFormatter, ITestListener

Constructors

Properties

Name Value Summary
Prefix string
Verbose bool

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
Not used, all output goes to Log class.
StartTest(ITest) void
StartTestSuite(NUnitTestData) void
Called when the whole test suite has started.