RSX Code Reference
    Preparing search index...
    • rsx
    • ConsoleTestOutput

    Class ConsoleTestOutput

    Default implementation of TestOutput that logs to the console.

    Implements

    Index
    • Called when an individual test ends.

      Parameters

      • name: string

        The name of the test.

      • success: boolean

        True if the test passed, false otherwise.

      Returns void

    • Called when a test assertion fails.

      Parameters

      • name: string

        The name of the test.

      • description: string

        Description of the failed assertion.

      • stack: string

        The full stack trace from the assertion site.

      Returns void

    • Called when a test assertion passes.

      Parameters

      • name: string

        The name of the test.

      • description: string

        Description of the passed assertion.

      • stack: string

        The full stack trace from the assertion site.

      Returns void

    • Called when an individual test starts.

      Parameters

      • name: string

        The name of the test.

      Returns void

    • Called when a test suite finishes running.

      Parameters

      • name: string

        The name of the test suite.

      Returns void

    • Called when a test suite starts running.

      Parameters

      • name: string

        The name of the test suite.

      Returns void