UNPKG

610 BTypeScriptView Raw
1import { ITest } from "../_interfaces/test.i";
2import { TestCaseResult } from "./test-case-result";
3import { TestOutcome } from "./test-outcome";
4import { IResultWithOutcome } from "./result-with-outcome.i";
5import { TestFixtureResults } from "../alsatian-core";
6export declare class TestResults implements IResultWithOutcome {
7 readonly fixtureResult: TestFixtureResults;
8 readonly test: ITest;
9 private _testCaseResults;
10 constructor(fixtureResult: TestFixtureResults, test: ITest);
11 get outcome(): TestOutcome;
12 addTestCaseResult(args: Array<any>, error?: Error | null): TestCaseResult;
13}