UNPKG

@serenity-js/cucumber

Version:

Serenity/JS test runner adapter for seamless integration with any version of Cucumber.js, facilitating BDD-style test automation and leveraging Serenity/JS reporting capabilities

27 lines 1.08 kB
import type { CorrelationId, Outcome } from '@serenity-js/core/lib/model'; import type { Serenity } from '@serenity-js/core/lib/Serenity'; import type { Feature, Scenario, ScenarioOutline, Step } from '../gherkin'; /** * @private */ export declare class Notifier { private readonly serenity; private currentSceneId; private currentScenario; private currentStepActivityId; constructor(serenity: Serenity); testRunStarts(): void; outlineDetected(sceneId: CorrelationId, scenario: Scenario, outline: ScenarioOutline, feature: Feature): void; scenarioStarts(sceneId: CorrelationId, scenario: Scenario, feature: Feature): void; stepStarts(step: Step): void; stepFinished(step: Step, outcome: Outcome): void; scenarioFinishes(): void; scenarioFinished(scenario: Scenario, feature: Feature, outcome: Outcome): void; testRunFinishes(): void; testRunFinished(outcome: Outcome): void; private emitSceneFinishes; private detailsOf; private scenarioHierarchyTagsFor; private emit; } //# sourceMappingURL=Notifier.d.ts.map