XmlResultFormatter Class

Summary

Prints detailed information about running tests in XML format.
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["XmlResultFormatter"] class Type type-node

Syntax

public class XmlResultFormatter : IResultFormatter, ITestListener

Constructors

Name Summary
XmlResultFormatter() Initializes a new instance of the NAnt.NUnit1.Types.XmlResultFormatter class.

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 System.IO.TextWriter the formatter is supposed to write its results to.
StartTest(ITest) void
StartTestSuite(NUnitTestData) void
Called when the whole test suite has started.