feat: added execution duration and updated collection-metrics (#2257)

This commit is contained in:
Deepanshu Dhruw
2022-04-18 22:43:43 +05:30
committed by GitHub
parent 62a5beb52f
commit 06937fe9e8
10 changed files with 400 additions and 74 deletions

View File

@@ -29,6 +29,7 @@ export interface RequestRunnerResponse extends TestResponse {
endpoint: string;
method: Method;
statusText: string;
duration: number;
}
/**
@@ -49,14 +50,14 @@ export interface TestScriptParams {
* @property {string} descriptor Test description.
* @property {ExpectResult[]} expectResults Expected results for each
* test-case.
* @property {number} failing Total failing test-cases.
* @property {number} passing Total passing test-cases;
* @property {number} failed Total failed test-cases.
* @property {number} passed Total passed test-cases;
*/
export interface TestReport {
descriptor: string;
expectResults: ExpectResult[];
failing: number;
passing: number;
failed: number;
passed: number;
}
/**