Class NUnit2XmlOutputWriter
NUnit2XmlOutputWriter is able to create an XML file representing the result of a test run in NUnit 2.x format.
Inherited Members
Namespace: NUnitLite
Assembly: nunitlite.dll
Syntax
public class NUnit2XmlOutputWriter : OutputWriter
Constructors
View SourceNUnit2XmlOutputWriter()
Declaration
public NUnit2XmlOutputWriter()
Methods
View SourceWriteResultFile(ITestResult, TextWriter, IDictionary<string, object>, TestFilter)
Writes the result of a test run to a specified TextWriter.
Declaration
public override void WriteResultFile(ITestResult result, TextWriter writer, IDictionary<string, object> runSettings, TestFilter filter)
Parameters
Type | Name | Description |
---|---|---|
ITestResult | result | The test result for the run |
TextWriter | writer | The TextWriter to which the xml will be written |
IDictionary<string, object> | runSettings | |
TestFilter | filter |
Overrides
View SourceWriteTestFile(ITest, TextWriter)
Write info about a test
Declaration
public override void WriteTestFile(ITest test, TextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
ITest | test | The test |
TextWriter | writer | A TextWriter |