Interface TestRun

interface TestRun {
    controller: TestController;
    id: string;
    isRunning: boolean;
    items: readonly TestItem[];
    name: string;
    onDidChangeProperty: Event<{
        isRunning?: boolean;
        name?: string;
    }>;
    onDidChangeTestOutput: Event<[undefined | TestItem, TestOutputItem][]>;
    onDidChangeTestState: Event<TestStateChangedEvent[]>;
    cancel(): void;
    getOutput(item?): readonly TestOutputItem[];
    getTestState(item): undefined | TestState;
}

Properties

controller: TestController
id: string
isRunning: boolean
items: readonly TestItem[]
name: string
onDidChangeProperty: Event<{
    isRunning?: boolean;
    name?: string;
}>

Type declaration

  • Optional isRunning?: boolean
  • Optional name?: string
onDidChangeTestOutput: Event<[undefined | TestItem, TestOutputItem][]>
onDidChangeTestState: Event<TestStateChangedEvent[]>

Methods