playwright-results-parser
Version:
Core building block for Playwright test analysis tools - provides foundational parsing, normalization, and transformation APIs that other packages can build upon.
16 lines • 1.49 kB
TypeScript
/**
* playwright-results-parser
* Main entry point for the Playwright Results Parser library
*/
export declare const version = "0.1.0";
export type { NormalizedTestRun, NormalizedTest, TestTotals, TestError, TestAttachment, TestAnnotation, ShardInfo, PlaywrightJsonReport, PlaywrightSuite, PlaywrightTestCase, PlaywrightTestResult, PlaywrightTestAttempt, PlaywrightSpec, PlaywrightAnnotation, } from "./types/index.js";
export { parsePlaywrightJson } from "./parser/parser.js";
export { parsePlaywrightJson as parsePlaywrightResults } from "./parser/parser.js";
export { ValidationError, validatePlaywrightJson } from "./parser/validator.js";
export { normalizeTestRun } from "./parser/normalizer.js";
export { aggregateShardedRuns, areRunsFromSameExecution } from "./aggregator/shards.js";
export { calculateStatistics, getFailedTests, getFlakyTests, getTestsByProject, getTestsByFile, type TestStatistics, type ProjectStatistics, type FileStatistics, type DurationStatistics, } from "./aggregator/statistics.js";
export { filterTests, filterPredicates, combinePredicates, combinePredicatesOr, } from "./utils/filters.js";
export { sortTests, sortComparators, compoundSort, reverseSort, } from "./utils/sorters.js";
export { groupTests, getUniqueValues, getUniqueProjects, getUniqueFiles, calculatePassRate, calculateFlakyRate, findTestsByPattern, getTestSummary, allTestsPassed, hasFailures, hasFlakyTests, type TestSummary, } from "./utils/helpers.js";
//# sourceMappingURL=index.d.ts.map