Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TestCase

import type { TestCase } from "https://googleapis.deno.dev/v1/toolresults:v1beta3.ts";
interface TestCase {
elapsedTime?: Duration;
endTime?: Timestamp;
skippedMessage?: string;
stackTraces?: StackTrace[];
startTime?: Timestamp;
status?:
| "passed"
| "failed"
| "error"
| "skipped"
| "flaky";
testCaseId?: string;
testCaseReference?: TestCaseReference;
toolOutputs?: ToolOutputReference[];
}

§Properties

§
elapsedTime?: Duration
[src]

The elapsed run time of the test case. Required.

§
endTime?: Timestamp
[src]

The end time of the test case.

§
skippedMessage?: string
[src]

Why the test case was skipped. Present only for skipped test case

§
stackTraces?: StackTrace[]
[src]

The stack trace details if the test case failed or encountered an error. The maximum size of the stack traces is 100KiB, beyond which the stack track will be truncated. Zero if the test case passed.

§
startTime?: Timestamp
[src]

The start time of the test case.

§
status?: "passed" | "failed" | "error" | "skipped" | "flaky"
[src]

The status of the test case. Required.

§
testCaseId?: string
[src]

A unique identifier within a Step for this Test Case.

§
testCaseReference?: TestCaseReference
[src]

Test case reference, e.g. name, class name and test suite name. Required.

§
toolOutputs?: ToolOutputReference[]
[src]

References to opaque files of any format output by the tool execution.