UNPKG

@syntest/search

Version:

The common core of the SynTest Framework

37 lines 876 B
import { Trace } from "./Trace"; /** * Results of an execution by the runner. */ export interface ExecutionResult { /** * Determine if a specific id has been covered in the traces. * * @param id The id to check for */ coversId(id: string): boolean; /** * Return the duration of the execution. */ getDuration(): number; /** * Return error that occurred during the execution. */ getError(): Error; /** * Return all the traces produced by the execution. */ getTraces(): Trace[]; /** * Return if an error occurred during the execution. */ hasError(): boolean; /** * Return if the execution has passed. */ hasPassed(): boolean; /** * Return if the execution timed out. */ hasTimedOut(): boolean; } //# sourceMappingURL=ExecutionResult.d.ts.map