/** * JUnit XML reporter. * * Render a CrawlReport as Surefire-flavoured JUnit XML so CI dashboards that * already understand `junit.xml` (Jenkins, CircleCI, GitLab CI, GitHub Actions * test summaries, Allure) can ingest chaosbringer results without bespoke * parsing. * * The mapping is one testcase per page: * - status="error" / "timeout" -> * - status="success" with errors[].length -> * - everything else -> passing testcase, no children * * Multiple PageError entries are concatenated into one element so the XML * stays a flat list (most readers display only the first failure per * testcase anyway). */ import type { CrawlReport } from "./types.js"; export interface JunitOptions { /** Suite name. Defaults to `report.baseUrl`. */ suiteName?: string; /** Test classname. Default: "chaosbringer". */ classname?: string; } export declare function buildJunitXml(report: CrawlReport, opts?: JunitOptions): string; //# sourceMappingURL=junit.d.ts.map