UNPKG

alsatian

Version:

TypeScript and JavaScript testing framework for beautiful and readable tests

14 lines (13 loc) 610 B
import { ITest } from "../_interfaces/test.i"; import { TestCaseResult } from "./test-case-result"; import { TestOutcome } from "./test-outcome"; import { IResultWithOutcome } from "./result-with-outcome.i"; import { TestFixtureResults } from "../alsatian-core"; export declare class TestResults implements IResultWithOutcome { readonly fixtureResult: TestFixtureResults; readonly test: ITest; private _testCaseResults; constructor(fixtureResult: TestFixtureResults, test: ITest); get outcome(): TestOutcome; addTestCaseResult(args: Array<any>, error?: Error | null): TestCaseResult; }