Interface TestCase

interface TestCase {
    description?: string;
    details: IScalar | IList | ITableTestCase;
    name: string;
    options?: {
        clearBeforeEach?: boolean;
    };
    selections?: ISelection[];
    skip?: boolean;
    type: "scalar" | "list";
}

Properties

description?: string

Longer text that describe the purpose of the test case

name: string

Name of the test case

options?: {
    clearBeforeEach?: boolean;
}

Type declaration

  • Optional clearBeforeEach?: boolean

    In which state the test to be ran. The state is applied to the expressions and selections.

    The default option is $

selections?: ISelection[]

What selections to be applied before running the test

WARNING: these selections will be applied AFTER the test group selections are applied (if any)

skip?: boolean

If true the test will not be performed

type: "scalar" | "list"

What is the type of the test case