UNPKG

wdio-azure-devops-test-reporter

Version:

A WebdriverIO reporter to create reports to import into Azure Test Plan

20 lines (19 loc) 754 B
import WDIOReporter, { AfterCommandArgs, RunnerStats, SuiteStats, TestStats } from "@wdio/reporter"; import { AzureReporterOptions } from "./types.js"; export default class AzureDevopsReporter extends WDIOReporter { private reporterOptions; private azureConfigurationId; private utils; private azureTestResult; private screenshots; private currentTestCaseAzureID; private currentIterationID; private currentActionPathIndex; constructor(options: AzureReporterOptions); onRunnerStart(runner: RunnerStats): void; onRunnerEnd(): void; onSuiteStart(suite: SuiteStats): void; onTestStart(test: TestStats): void; onSuiteEnd(suite: SuiteStats): void; onAfterCommand(command: AfterCommandArgs): void; }