@wdio/testrail-reporter
Version:
Create or update a run on testrail and publish the test case results.
19 lines • 738 B
TypeScript
import WDIOReporter, { type TestStats, type SuiteStats, type RunnerStats } from '@wdio/reporter';
import type { ReporterOptions, TestCase } from './types';
export default class TestRailReporter extends WDIOReporter {
#private;
interval?: ReturnType<typeof setInterval>;
runId: string;
constructor(options: ReporterOptions);
get isSynchronised(): boolean;
checkForRun(): void;
onRunnerStart(runner: RunnerStats): void;
onTestPass(test: TestStats): void;
onTestFail(test: TestStats): void;
onTestSkip(test: TestStats): void;
onSuiteEnd(suiteStats: SuiteStats): void;
onRunnerEnd(): void;
sync(): Promise<void>;
getTestCasesArray(): TestCase[];
}
//# sourceMappingURL=reporter.d.ts.map