@oazmi/kitchensink - v0.10.1
    Preparing search index...

    Interface TestDefinition

    this interface describes what a test or sub-test is composed of. it partially reflects Deno.TestDefinition's interface.

    interface TestDefinition {
        name: string;
        fn: TestFunction;
        ignore?: boolean;
    }
    Index

    Properties

    Properties

    name: string

    the user defined name of the test/sub-test.

    the test function that will be tested when this step is executed.

    the first (and only) argument passed to this function will contain the current test's context.

    ignore?: boolean

    when this is set to true, the current test/sub-test will be skipped.

    this is can be used for conditional logic, like when an environment feature is present or lacking.