diff --git a/package-lock.json b/package-lock.json index 5be6d2d..8ef47d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@madie/madie-models", - "version": "1.3.49", + "version": "1.3.51", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@madie/madie-models", - "version": "1.3.49", + "version": "1.3.51", "license": "ISC", "devDependencies": { "@types/jest": "^27.4.1", diff --git a/package.json b/package.json index 310b528..2b701e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@madie/madie-models", - "version": "1.3.50", + "version": "1.3.51", "description": "Models for MADiE Project", "scripts": { "build": "tsc", diff --git a/src/TestCaseExcelExportDto.ts b/src/TestCaseExcelExportDto.ts index f08c745..6b12e97 100644 --- a/src/TestCaseExcelExportDto.ts +++ b/src/TestCaseExcelExportDto.ts @@ -5,6 +5,7 @@ export interface TestCaseExcelExportDto { } export interface TestCaseExecutionResultDto { + testCaseId: string; populations: Array; notes?: string; last: string; @@ -17,12 +18,14 @@ export interface TestCaseExecutionResultDto { gender?: string; definitions: Array; functions: Array; + stratifications?: Array; } export interface PopulationDto { name: string; expected: number; actual: number; + pass: boolean; } export interface DefinitionDto { @@ -34,3 +37,18 @@ export interface FunctionDto { logic: string; actual: string; } + +export interface StratificationDto { + id: string; + name: string; + expected: number; + actual: number; + pass: boolean; +} + +export interface GroupedStratificationDto { + testCaseId: string; + stratId: string; + stratName: string; + stratificationDtos: StratificationDto[]; +}