Class OutputManager
OutputManager is responsible for creating output files from a test run in various formats.
Inherited Members
Namespace: NUnitLite
Assembly: nunitlite.dll
Syntax
public class OutputManager
Constructors
View SourceOutputManager(string)
Construct an OutputManager
Declaration
public OutputManager(string workDirectory)
Parameters
Type | Name | Description |
---|---|---|
string | workDirectory | The directory to use for reports |
Methods
View SourceWriteResultFile(ITestResult, OutputSpecification, IDictionary<string, object>, TestFilter)
Write the result of a test run according to a spec.
Declaration
public void WriteResultFile(ITestResult result, OutputSpecification spec, IDictionary<string, object> runSettings, TestFilter filter)
Parameters
Type | Name | Description |
---|---|---|
ITestResult | result | The test result |
OutputSpecification | spec | An output specification |
IDictionary<string, object> | runSettings | Settings |
TestFilter | filter | Filter |
WriteTestFile(ITest, OutputSpecification)
Write out the result of exploring the tests
Declaration
public void WriteTestFile(ITest test, OutputSpecification spec)
Parameters
Type | Name | Description |
---|---|---|
ITest | test | The top-level test |
OutputSpecification | spec | An OutputSpecification |