stable

Clone or download

Read-only

Export numeric fields of the requirements in the test plan report

The fields of types int, float and computed are now exported for requirements. The columns are consolidated based on the field label. If a tracker uses the same label for multiple fields, only one value is added to the report but a comment is set on the cell to inform the user. Part of story #15096: export a report of tests for a milestone Change-Id: I1175d2502ba17471e90b070ebfe0d1b8b074054f

Modified Files

Name
M plugins/testplan/scripts/test-plan/po/fr_FR.po +6 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/Export/artifact.ts +66 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Export/artifacts-retriever.test.ts +2 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Export/artifacts-retriever.ts +1 −13 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Export/justifications-builder.test.ts +19 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Export/justifications-builder.ts +4 −6 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Export/report-cells.test.ts +22 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Export/report-cells.ts +33 −7 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Export/report-creator.test.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Export/report-creator.ts +5 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Export/requirements-builder.test.ts +146 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Export/requirements-builder.ts +136 −11 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/Export/tracker.ts +44 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/Export/trackers-retriever.test.ts +45 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/Export/trackers-retriever.ts +43 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/Export/transform-field-value-into-cell.test.ts +98 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/Export/transform-field-value-into-cell.ts +62 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Export/transform-report-to-xlsx-sheet.test.ts +18 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/Export/transform-report-to-xlsx-sheet.ts +37 −10 Go to diff View file