Holds onto a LiveTestCaseResult owned by the Logger, and writes the results into it.

Hierarchy

  • TestCaseRecorder

Constructors

Properties

debugging: boolean = false
nonskippedSubcaseCount: number = 0
result: LiveTestCaseResult

Methods

  • Make a recorder that will defer all calls until deferUntilPromise resolves. This is used for running subcases, which run concurrently, to ensure that logs from all the previous subcases have been flushed before flushing new logs, so all logs are in order as if the subcases had not been concurrent.

    Parameters

    • prefix: string
    • deferUntilPromise: Promise<void>

    Returns TestCaseRecorder

Generated using TypeDoc