UNPKG

test-results-parser

Version:

Parse test results from JUnit, TestNG, xUnit, cucumber and many more

62 lines (53 loc) 1.05 kB
export type CucumberResult = { status: string; duration: number; }; export type CucumberMatch = { location: string; }; export type CucumberArgument = { arguments: any[]; keyword: string; line: number; name: string; match: CucumberMatch; result: CucumberResult; }; export type CucumberStep = { arguments: any[]; keyword: string; line: number; name: string; match: CucumberMatch; result: CucumberResult; embeddings?: CucumberEmbedding[]; }; export type CucumberEmbedding = { data: string; mime_type: string; } export type CucumberTag = { name: string; line: number; }; export type CucumberElement = { description: string; id: string; keyword: string; line: number; name: string; steps: CucumberStep[]; tags: CucumberTag[]; type: string; }; export type CucumberFeature = { description: string; elements: CucumberElement[]; id: string; line: number; keyword: string; name: string; tags: CucumberTag[]; uri: string; }; export type CucumberJsonResult = CucumberFeature[];