UNPKG

html-reporter

Version:

Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.

10 lines (9 loc) 900 B
import { TestStepCompressed, TestplaneSuite, TestplaneTestResult } from '../../../types'; import type { Config } from 'testplane'; export declare const getSkipComment: (suite: TestplaneTestResult | TestplaneSuite) => string | null | undefined; export declare const wrapSkipComment: (skipComment: string | null | undefined) => string; export declare const getTotalTime: (items: TestStepCompressed[], start: number, size: number) => number; export declare const getItemAverageTime: (items: TestStepCompressed[], start: number, repeat: number, index: number, groupLen: number) => number; export declare const MIN_REPEATS = 3; export declare const collapseRepeatingGroups: (arr: TestStepCompressed[], minRepeats?: number) => TestStepCompressed[]; export declare const getHistory: (history: TestplaneTestResult['history'] | undefined, saveHistoryMode?: Config['saveHistoryMode']) => TestStepCompressed[];