UNPKG

askui

Version:

Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on

15 lines (14 loc) 503 B
import { Step } from './step'; import { ReporterConfig } from './reporter-config'; /** * Can be used to report on a step run. * * The reporter is an interface (instead of a class) so that the it may be implemented by a class * that already extends another class, e.g., the reporter of a test framework. */ export interface Reporter { config?: ReporterConfig; onStepBegin?(step: Step): Promise<void>; onStepRetry?(step: Step): Promise<void>; onStepEnd?(step: Step): Promise<void>; }