Skip to content

Test Plan - Product Name ​

Template IDLocal ID
Template VersionVersion
ApprovalApprover name

1. Introduction ​

1.1 Product ​

Product nameVersion
Product name1.0

1.2 Definitions ​

TermDefinition
Test iterationSoftware version completed and execution and recording of all tests

2. Review Process ​

The first draft and every change to the requirements documents (stakeholder-requirements, system-requirements, and architecture) lead to a review of the respective documents by inspection and, where required, revision. At least the project lead, responsible developers, and one staff member not involved in the drafting process must participate.

2.1 Stakeholder Requirements Review ​

According to the document stakeholder-requirements-review, the requirements in stakeholder-requirements are reviewed for completeness and correctness and revised where required.

2.2 System Requirements Review ​

According to the document system-requirements-review, the requirements in system-requirements are reviewed for completeness and correctness and revised where required.

2.3 Architecture and Design Review]] ​

According to the document template architecture-review, architecture is reviewed for completeness and correctness and revised where required.

3. Test Strategy ​

3.1 Test Prioritization ​

Each planned test object, test, and test case must be assigned one of the following priorities:

PriorityValueDescription
Low0Failure has only minor impact on development success
Medium1Failure has medium impact on development success
High2Failure has major impact on development success

3.2 Test Status ​

Each planned test object and each test must be in one of the following statuses:

  • Not specified
  • Pending
  • In progress
  • Overdue
  • Completed

3.3 Error Classes ​

Error classValueDescription
None0Flawless and compliant with requirements
Irrelevant1Usable/functionality is present; the error should normally not occur
Minor2Usable, but with slightly restricted functionality
Major3Functionality is still present, but usability is strongly restricted
Critical4Not usable, essential functionality is missing, operation is not justifiable, or function is not tested

3.4 Handling Errors ​

3.4.1 Process Errors ​

Errors that directly affect success of the development process are assessed according to error class and priority and handled accordingly.

For error classes 1-2 (irrelevant to minor):

  • Each overdue test object with error class 2 and priority 2 that is not corrected within 3 test iterations leads to an independent review by at least one additional person from the development and test team to determine whether the error is far-reaching and requires further consequences.

For error classes 3-4 (major to critical):

  • Correction of overdue test objects with error class 3-4 is prioritized. Each overdue test object with error class 3-4 that is not corrected within 3 test iterations leads to a joint review with at least one additional person from the development and test team to determine whether the error is far-reaching and requires further consequences.
  • Each overdue test object with error class 4 and priority 2 that is not corrected within 3 test iterations leads to mandatory notification of the project lead within 7 working days. If the problem cannot be corrected within an appropriate period, the affected component is redesigned.

3.4.2 Test Object Errors ​

Determination of the error classes for test objects:

  • The error class of the test object is at least as critical as the most critical error class of the underlying tests with priority >= 1.

For error classes 1-2:

  • Analysis is performed by the responsible developer. The issue is documented in the defect management system with label "improvement potential", e.g. "enhancement" or "UX improvement". Correction is optional and performed if capacity allows or as part of downstream improvement measures.

For error classes 3-4:

  • Each overdue test with error class 3 or 4 and priority 0 leads to analysis by the responsible developer and documentation in the defect management system. Correction is optional and performed if capacity allows or as part of downstream improvement measures.
  • Each overdue test with error class 3 or 4 and priority >= 1 that is not corrected within three test iterations leads to code review by another developer or to a pair-programming session.

3.4.3 Test Errors ​

Definition of the defect classes for test cases:

  • Test cases are jointly assigned a defect class and priority by the responsible developer and tester. The following guidance applies:
    • If the defect is so severe that the test result provides no meaningful information (e.g., test data was not loaded, setup failed), the test case is classified as at least defect class 3.
    • Defects caused by test tools (e.g., test frameworks crashing, incompatibility with CI/CD) are assigned defect class 3 if they occur reproducibly and systematically.

Determining defect classes for tests:

  • The defect class of the test must be at least as critical as the most critical defect class among the underlying test cases with priority >= 1 (medium to high).

Handling failed test cases:

  • Every failed test case results in the corresponding classification of the parent test and, depending on the resulting defect class, the mandatory actions defined in 2.4.2 and 2.4.1.

4. Test Phases ​

4.1 Acceptance Tests ​

The requirements in stakeholder-requirements are covered by the following tests:

Test object IDTest object nameTest specificationRisk control measure?PriorityDate
StA_NA_001Aggregated LAMPE status (overall CDSS status in HIS)test-specificationsNoMediumDay-Month-Year
StA_NA_002Transition to LAMPE detail informationtest-specificationsNoMediumDay-Month-Year
StA_NA_003CDSS overviewtest-specificationsYesMediumDay-Month-Year
StA_NA_004Notification text (detail view)test-specificationsNoMediumDay-Month-Year
StA_NA_005Contributing data (detail view)test-specificationsNoLowDay-Month-Year
StA_NA_006Further information (detail view)test-specificationsNoLowDay-Month-Year
StA_NA_007Traceability (detail view)test-specificationsNoMediumDay-Month-Year
StA_NA_008Feedback (detail view)test-specificationsNoLowDay-Month-Year
StA_NA_009Email alerttest-specificationsNoMediumDay-Month-Year
StA_NA_010Email attributiontest-specificationsNoMediumDay-Month-Year
StA_NA_011Email traceabilitytest-specificationsNoMediumDay-Month-Year
StA_NA_016Near-real-time processingtest-specificationsNoMediumDay-Month-Year
StA_NA_017AKI scoring algorithmtest-specificationsNoHighDay-Month-Year

4.2 System Tests ​

The requirements in system-requirements are covered by the following tests:

Test object IDTest object nameTest specificationRisk control measure?PriorityDate
SyA_ES_NS_UIUser interfacetest-specificationsNoMediumDay-Month-Year
SyA_ES_HS_PClocal standard PC hardwaretest-specificationsNoMediumDay-Month-Year
SyA_ES_HS_VMLinux virtual machinetest-specificationsNoHighDay-Month-Year
SyA_ES_SS_DBDatabase interface (input)test-specificationsNoHighDay-Month-Year
SyA_ES_SS_PClocal standard PC softwaretest-specificationsNoMediumDay-Month-Year
SyA_ES_SS_KASCDSS interface to the CWStest-specificationsNoMediumDay-Month-Year
SyA_ES_SS_MAILCDSS interface for email dispatchtest-specificationsNoMediumDay-Month-Year
SyA_BU_INST_SPALTEDisplaying the CDSS columntest-specificationsNoMediumDay-Month-Year
SyA_BU_INST_DOCKERSystem startuptest-specificationsYesLowDay-Month-Year
SyA_ES_IFUinstructions-for-usetest-specificationsYesMediumDay-Month-Year
SyA_FA_UI_STAMMPatient master datatest-specificationsNoMediumDay-Month-Year
SyA_FA_UI_FBFeedbacktest-specificationsNoLowDay-Month-Year
SyA_FA_UI_STARTStart view (overview)test-specificationsNoLowDay-Month-Year
SyA_FA_UI_DETAILTransition to detail viewtest-specificationsNoLowDay-Month-Year
SyA_FA_UI_HINWEISNotification text (detail view)test-specificationsNoLowDay-Month-Year
SyA_FA_UI_DATENContributing data (detail view)test-specificationsNoLowDay-Month-Year
SyA_FA_UI_LINKAccess to further information (detail view)test-specificationsNoLowDay-Month-Year
SyA_FA_MAIL_VERSEmail dispatch conditionstest-specificationsNoMediumDay-Month-Year
SyA_FA_MAIL_STAMMPatient master data in emailtest-specificationsYesMediumDay-Month-Year
SyA_FA_MAIL_INHEmail contenttest-specificationsNoLowDay-Month-Year
SyA_FA_SCORE_STATUSCDSS statustest-specificationsNoMediumDay-Month-Year
SyA_FA_SCORE_SCHWERCDSS severitytest-specificationsNoMediumDay-Month-Year
SyA_FA_SCORE_AGGRAggregated CDSS statustest-specificationsNoMediumDay-Month-Year
SyA_FA_SCORE_AKIDetection of AKI and VA-AKItest-specificationsNoHighDay-Month-Year
SyA_NFA_L_EVReal-time processingtest-specificationsNoMediumDay-Month-Year
SyA_NFA_SA_CONTContainertest-specificationsNoMediumDay-Month-Year
SyA_NFA_SA_SANDSandboxingtest-specificationsYesMediumDay-Month-Year
SyA_NFA_SA_AUIUI authenticationtest-specificationsYesMediumDay-Month-Year
SyA_NFA_SA_AVMVM authenticationtest-specificationsYesHighDay-Month-Year
SyA_NFA_SA_MINIData minimizationtest-specificationsNoLowDay-Month-Year
SyA_NFA_SQ_SUIStatic UItest-specificationsYesLowDay-Month-Year
SyA_NFA_SQ_MINIMinimal interactiontest-specificationsNoLowDay-Month-Year
SyA_NFA_SQ_UEBClaritytest-specificationsNoLowDay-Month-Year
SyA_NFA_SQ_SLSystem uptimetest-specificationsNoMediumDay-Month-Year
SyA_NFA_SQ_DDDefective data inputtest-specificationsYesMediumDay-Month-Year
SyA_NFA_SQ_WMaintenancetest-specificationsYesMediumDay-Month-Year
SyA_NFA_SQ_MODModularitytest-specificationsNoLowDay-Month-Year
SyA_NFA_SQ_KONFConfiguration (authorization)test-specificationsYesMediumDay-Month-Year

4.3 Unit and Integration Tests ​

The components in architecture are covered by the following tests:

Test object IDTest object nameTest specificationRisk control measure?PriorityDate
ETL_PROCESSStream processing componenttest-specificationsNoHighDay-Month-Year
ETL_PATPatient componenttest-specificationsYesHighDay-Month-Year
ETL_LABLaboratory componenttest-specificationsYesHighDay-Month-Year
ETL_PROZProcedure componenttest-specificationsYesHighDay-Month-Year
ETL_FALLCase componenttest-specificationsYesHighDay-Month-Year
DS_STREAMStreaming componenttest-specificationsNoHighDay-Month-Year
SCO_FRAME_KAFKA_RKafka reader of the scoring frameworktest-specificationsYesHighDay-Month-Year
SCO_FRAME_KAFKA_WKafka writer of the scoring frameworktest-specificationsYesHighDay-Month-Year
SCO_FRAME_WORK_DSGWorkflow designer of the scoring frameworktest-specificationsYesHighDay-Month-Year
SCO_FRAME_WORK_SCHWorkflow scheduler of the scoring frameworktest-specificationsYesHighDay-Month-Year
SCO_AKIAKI componenttest-specificationsYesHighDay-Month-Year
SCO_AKI-DBAKI DB componenttest-specificationsYesHighDay-Month-Year
BACK_SERResult web server componenttest-specificationsYesHighDay-Month-Year
BACK_DBBackend DB componenttest-specificationsYesHighDay-Month-Year
BACK_ERGResult componenttest-specificationsYesHighDay-Month-Year
BACK_METAMetadata componenttest-specificationsYesHighDay-Month-Year
BACK_ORCWorkflow orchestration componenttest-specificationsNoHighDay-Month-Year
BACK_MAILMail client componenttest-specificationsYesMediumDay-Month-Year
FRONT_CASECase dashboard componenttest-specificationsYesMediumDay-Month-Year

5. Test Team Members ​

IDNameRoleResponsibilityQualificationAffiliation
TTM_1Project lead nameProject leadLeading and monitoring the project development processDegree, specialisation, experienceHospital Name
TTM_2Technical expert nameDeveloper, architect, testerDesign of architecture and design and implementation of system components for the specified requirements; definition and execution of specific frontend testsDegree, specialisation, experienceHospital Name
TTM_3Technical tester nameFrontend developer, testerDefinition and execution of specific tests; frontend implementationDegree, specialisation, experienceHospital Name
TTM_4Data processing expert nameArchitect, tester, data processing expertDesign of architecture and system components for specified requirements; definition and execution of validation tests; creation of architecture/design, stakeholder, and system requirementsDegree, specialisation, experienceHospital Name
TTM_5Medical and risk expert nameMedical-technical expert, project and risk managerProject management for test documentation; support for medical-technical requirements and content creation; risk managementDegree, specialisation, experienceHospital Name

6. Monitoring and Evaluation Metrics ​

IDNameDescriptionSufficientNeeds improvementInsufficient
UBM_StAStakeholder requirement coveragePercentage of requirements in stakeholder-requirements that could be considered fulfilled by at least one test.100%>=90%<90%
UBM_SyASystem requirement coveragePercentage of requirements in system-requirements that could be considered fulfilled by at least one test.100%>=90%<90%
UBM_ADAArchitecture and design requirement coveragePercentage of requirements in architecture that could be considered fulfilled by at least one test.100%>=90%<90%
UBM_COVCode coverageThe percentage of all “instructions” (also called “statements”) in the code that were covered by a test case. The framework, config modules, SOUPs, and the scoring component, which is tested without automation, were not considered.>=60%>=50%<50%
UBM_RISTests per risk control measureAverage number of tests per risk control measure from the requirements in architecture.>=1.5>=1<1
UBM_ABNNumber of acceptance testersNumber of users who accepted the acceptance test as stakeholders.>=5>=3❤️

7. Test Resources ​

7.1 Standards ​

No standards are specified.

7.2 Methods ​

IDNamePurposeReference
TR_M_01Black-box testsIntegration testshttps://de.wikipedia.org/wiki/Black-Box-Test
TR_M_02White-box testsReview of correct use of the Google coding standard throughout the source codehttps://de.wikipedia.org/wiki/White-Box-Test
TR_M_03Snapshot testsIntegration or system testshttps://vitest.dev/guide/snapshot.html
TR_M_04Unit testsComponent testshttps://de.wikipedia.org/wiki/Modultest
TR_M_05Checklist with protocolAcceptance test, system test

7.3 Tools ​

IDNamePurposeReference
TR_WZ_01GitHub ActionsAutomated test runshttps://github.com/features/actions
TR_WZ_02JUnit 5Test framework for Java-based testshttps://junit.org/junit5/docs/current/user-guide/
TR_WZ_03MockitoMockshttps://site.mockito.org/
TR_WZ_04TestcontainersProvides dependencies for integration testshttps://testcontainers.com/
TR_WZ_05VitestTest framework for TypeScript-based tests (frontend)https://vitest.dev
TR_WZ_06DockerContainer runtime environment for building images, starting/stopping containers, and managing networks and volumeshttps://www.docker.com/
TR_WZ_07GitHubPlatform for versioned management of the code basehttps://github.com/
TR_WZ_08Docker RegistryImage repository similar to GitHub, but for Docker imageshttps://hub.docker.com/_/registry
TR_WZ_09FakerLibrary for generating realistic frontend test datahttps://github.com/faker-js; https://fakerjs.dev/
TR_WZ_10testing-library/jest-domCustom Jest matchers for DOM tests, e.g. toBeInTheDocumenthttps://github.com/testing-library/jest-dom
TR_WZ_11testing-library/reactReact-specific testing utilities for component renderinghttps://testing-library.com/docs/react-testing-library/intro; https://github.com/testing-library/react-testing-library
TR_WZ_12vitest/coverage-v8Coverage reporter for Vitest based on the V8 enginehttps://vitest.dev; https://github.com/vitestdev/vitest/tree/main/packages/coverage-v8

7.4 Test Environments ​

IDDescriptionProvision date
TR_TU_01For component/unit and integration tests:

Hardware: GitHub Runner (cloud-based, exact specifications: https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories)
Software: GitHub Actions, JUnit 5, Vitest, Mockito, Testcontainers
Location: Worldwide
Access rights: GitHub account
Personnel: Test team members (see 4.)

Integration tests are automatically triggered for all changes to the project that are merged into a main branch (Develop, Master, Release-*).
Day-Month-Year
TR_TU_02For system tests:

Hardware: local VM
- CPU 4 vCores, 64-bit kernel and CPU support for virtualization
- no minimum graphics requirements
- 32 GB RAM
- 50 GB storage
- Unix-based operating system

Software: JUnit 5, Mockito, Testcontainers
Location: local site
Access rights: according to local authentication and authorization requirements
Personnel: test team members.
Day-Month-Year
TR_TU_03For system tests:

Hardware: local VM
- CPU 4 vCores, 64-bit kernel and CPU support for virtualization
- no minimum graphics requirements
- 32 GB RAM
- 50 GB storage
- Unix-based operating system

Software: JUnit 5, Mockito, Testcontainers
Location: local site
Access rights: according to local authentication and authorization requirements
Personnel: test team members and clinical medical staff (users).
Day-Month-Year

8. Applicable Documents ​

Document nameReference (local ID)
test-specificationslocal ID
stakeholder-requirements-reviewlocal ID
system-requirements-reviewlocal ID
architecture-reviewlocal ID