test-results-parser
Version:
Parse test results from JUnit, TestNG, xUnit, cucumber and many more
29 lines (24 loc) • 604 B
TypeScript
import * as TestAttachment from './TestAttachment';
import * as TestStep from './TestStep';
declare class TestCase {
name: string;
total: number;
passed: number;
failed: number;
errors: number;
skipped: number;
duration: number;
startTime: Date | undefined;
endTime: Date | undefined;
status: string;
failure: string;
stack_trace: string;
tags: string[];
metadata: object;
steps: TestStep[];
attachments: TestAttachment[];
setFailure: SetFailureFunction
}
export type SetFailureFunction = (value: string) => string;
declare namespace TestCase { }
export = TestCase;