Class NUnit3XmlOutputWriter
NUnit3XmlOutputWriter is responsible for writing the results of a test to a file in NUnit 3 format.
Inherited Members
Namespace: NUnitLite
Assembly: nunitlite.dll
Syntax
public class NUnit3XmlOutputWriter : OutputWriter
Constructors
View SourceNUnit3XmlOutputWriter()
Declaration
public NUnit3XmlOutputWriter()
Methods
View SourceWriteResultFile(ITestResult, TextWriter, IDictionary<string, object>, TestFilter)
Writes the test result to the specified TextWriter
Declaration
public override void WriteResultFile(ITestResult result, TextWriter writer, IDictionary<string, object> runSettings, TestFilter filter)
Parameters
Type | Name | Description |
---|---|---|
ITestResult | result | The result to be written to a file |
TextWriter | writer | A TextWriter to which the result is written |
IDictionary<string, object> | runSettings | |
TestFilter | filter |
Overrides
View SourceWriteTestFile(ITest, TextWriter)
Writes test info to the specified TextWriter
Declaration
public override void WriteTestFile(ITest test, TextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
ITest | test | The test to be written |
TextWriter | writer | A TextWriter to which the test info is written |