playwright-testrail-sync
Version:
TestRail Integration for Playwright with comprehensive logging and error handling
19 lines • 661 B
TypeScript
/**
* State manager
* Handles reporter state initialization and management
*/
import { PlaywrightTestRailSyncOptions, ReporterState } from "../../types";
import { TestRailLogger } from "../../logging";
/**
* Initialize reporter state
*/
export declare function initializeState(options: PlaywrightTestRailSyncOptions): ReporterState;
/**
* Update test counters based on result status
*/
export declare function updateCounters(state: ReporterState, result: any): void;
/**
* Log final summary
*/
export declare function logFinalSummary(state: ReporterState, logger: TestRailLogger, testRailHost: string): void;
//# sourceMappingURL=state-manager.d.ts.map