@nevware21/tripwire - v0.1.8
    Preparing search index...

    Interface ITestCase

    Test case definition

    0.2.0

    interface ITestCase {
        description: string;
        fn?: TestFn;
        id: string;
        only: boolean;
        retries?: number;
        skip: boolean;
        slow?: number;
        timeout?: number;
    }
    Index
    description: string

    Test description

    fn?: TestFn

    Test function

    id: string

    Unique identifier for this test (deterministic across runs)

    only: boolean

    Whether this test is marked as only

    retries?: number

    Number of retries for this test case. If not set, the containing suite value is used, then the global configuration value.

    skip: boolean

    Whether this test is skipped in the definition

    slow?: number

    Threshold in milliseconds for considering this test slow. If not set, the containing suite value is used, then the global configuration value.

    timeout?: number

    Test timeout in milliseconds for this test case (overrides suite timeout if set). If not set, the suite timeout or default timeout from the configuration will be used.