Search Results for

    Show / Hide Table of Contents

    Namespace NUnit.Common

    Classes

    ColorConsole

    Sets the console color in the constructor and resets it in the dispose

    ColorConsoleWriter

    CommandLineOptions

    CommandLineOptions is the base class the specific option classes used for nunit3-console and nunitlite. It encapsulates all common settings and features of both. This is done to ensure that common features remain common and for the convenience of having the code in a common location. The class inherits from the Mono Options OptionSet class and provides a central location for defining and parsing options.

    ExtendedTextWrapper

    ExtendedTextWrapper wraps a TextWriter and makes it look like an ExtendedTextWriter. All style indications are ignored. It's used when text is being written to a file.

    ExtendedTextWriter

    ExtendedTextWriter extends the TextWriter abstract class to support displaying text in color.

    OutputSpecification

    OutputSpecification encapsulates a file output path and format for use in saving the results of a run.

    TestNameParser

    TestNameParser is used to parse the arguments to the -run option, separating testnames at the correct point.

    TestSelectionParser

    TestSelectionParserException

    TestSelectionParserException is thrown when an error is found while parsing the selection expression.

    Token

    Tokenizer

    Tokenizer class performs lexical analysis for the TestSelectionParser. It recognizes a very limited set of tokens: words, symbols and quoted strings. This is sufficient for the simple DSL we use to select which tests to run.

    Enums

    ColorStyle

    ColorStyle enumerates the various styles used in the console display

    TokenKind

    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0