Search Results for

    Show / Hide Table of Contents

    Class NUnit3XmlOutputWriter

    NUnit3XmlOutputWriter is responsible for writing the results of a test to a file in NUnit 3 format.

    Inheritance
    object
    OutputWriter
    NUnit3XmlOutputWriter
    Inherited Members
    OutputWriter.WriteResultFile(ITestResult, string, IDictionary<string, object>, TestFilter)
    OutputWriter.WriteTestFile(ITest, string)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: NUnitLite
    Assembly: nunitlite.dll
    Syntax
    public class NUnit3XmlOutputWriter : OutputWriter

    Constructors

    View Source

    NUnit3XmlOutputWriter()

    Declaration
    public NUnit3XmlOutputWriter()

    Methods

    View Source

    WriteResultFile(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
    OutputWriter.WriteResultFile(ITestResult, TextWriter, IDictionary<string, object>, TestFilter)
    View Source

    WriteTestFile(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

    Overrides
    OutputWriter.WriteTestFile(ITest, TextWriter)
    • View Source
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0