stryker-api
Version:
The api for the extendable JavaScript mutation testing framework Stryker
26 lines • 685 B
TypeScript
import TestResult from './TestResult';
import RunStatus from './RunStatus';
import { CoverageCollection, CoveragePerTestResult } from './Coverage';
/**
* Represents the result of a test run.
*/
interface RunResult {
/**
* The individual test results.
*/
tests: TestResult[];
/**
* If `state` is `error`, this collection should contain the error messages
*/
errorMessages?: string[];
/**
* The status of the run
*/
status: RunStatus;
/**
* Optional: the code coverage result of the run.
*/
coverage?: CoverageCollection | CoveragePerTestResult;
}
export default RunResult;
//# sourceMappingURL=RunResult.d.ts.map