stable

Clone or download

Read-only

chore: extract retrieval of executions

In order to be able to build the "tests" section of the TestPlan report document, we need to retrieve all executions of the campaigns of the milestone. However this retrieval is already done to build the traceability matrix. To save resources and the rainforest, we should only retrieve executions once. This commit only deal with the extract. Use of executions to build the tests section will be done later. No functional changes expected. Bonus: not needed for the current refacto but `tests` property has been added to `ExportDocument`Β interface while we were here. Part of story #23462: export test plan as a docx document Change-Id: I1a944d6d9430816b77db44a1680d9299456ecfb2

Modified Files

Name
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/backlog-builder.test.ts +2 βˆ’0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/download-docx.test.ts +1 βˆ’0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/matrix-builder.test.ts +2 βˆ’0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/testplan-builder.test.ts +1 βˆ’0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/executions-for-campaigns-retriever.test.ts +87 βˆ’0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/executions-for-campaigns-retriever.ts +51 βˆ’0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/report-creator.ts +8 βˆ’1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/traceability-matrix-creator.test.ts +176 βˆ’160 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/traceability-matrix-creator.ts +9 βˆ’7 Go to diff View file
M plugins/testplan/scripts/test-plan/src/type.ts +10 βˆ’0 Go to diff View file