UNPKG

@sectester/reporter

Version:

Provide an abstraction for generating test results as part of the particular test frameworks.

15 lines (14 loc) 1.14 kB
import type { TestReport, JUnitTestSuite, JUnitTestCase } from '../reporters/gitlab/types'; export declare const createVulnerabilityTestCase: (method: string, endpoint: string, vulnerability: string, time?: number) => JUnitTestCase; export declare const createTestCaseWithSystemOut: (baseTestCase: JUnitTestCase, systemOut: string) => JUnitTestCase; export declare const createTestCaseWithSpecialChars: (failure: string) => JUnitTestCase; export declare const createPassingTestCase: (classname: string, name: string, time?: number) => JUnitTestCase; export declare const createTestSuite: (name: string, testCases: JUnitTestCase[], failures?: number) => JUnitTestSuite; export declare const brightTestSuite: JUnitTestSuite; export declare const criticalBrightTestSuite: JUnitTestSuite; export declare const highBrightTestSuite: JUnitTestSuite; export declare const minimalTestReport: TestReport; export declare const testReportWithSystemOut: TestReport; export declare const testReportWithSpecialCharacters: TestReport; export declare const testReportWithoutFailures: TestReport; export declare const multipleTestSuitesReport: TestReport;