Domain specifications / D02-ISE / 15. Testing and Verification Requirements
15. Testing and Verification Requirements¶
15.1 Verification Strategy¶
Verification follows the test levels of PRS section 17.1.
- Unit testing. Routing rules, validators, mappers, envelope checks, retry and deduplication logic, policy checks.
- Component testing. Each platform component in isolation with simulated dependencies, including failure responses.
- Integration testing. HL7 v2, FHIR, DICOM, IHE, device and partner workflows; retries, duplicates, ordering and reconciliation; API and contract tests for schema conformance, authentication, authorization, compatibility, rate limits, idempotency and error responses.
- End-to-end workflow testing. Platform participation in complete patient journeys run by the owning domains (for example order to result), with tracing and reconciliation checked.
- Performance testing. Peak concurrency, interface bursts, high-volume observations, batch jobs, backlog replay, analytics isolation and failover under load.
- Security testing. Threat model review, static and dynamic analysis, dependency scanning, penetration testing, access control, encryption coverage, secret scanning, segmentation tests, node authentication.
- Usability testing. Task-based tests of operational consoles and of the commit-state indicator with representative users.
- User acceptance testing. Acceptance by platform operations, integration operations, security and, for downtime and offline behaviour, representative clinical departments.
- Operational readiness testing. Monitoring, backup and restore, patching, incident response, DR, runbooks, support escalation, downtime and restoration reconciliation exercises, exit export.
- Resilience testing. Failure injection on brokers, consumers, partners, gateways, the secret store, the policy service and a full failure domain.
Evidence is retained in a controlled repository with test case ID, requirement ID, build/version, environment, test data classification, tester, date, outcome, defect references, logs, approver and waiver details (PRS section 17.3). Test data is synthetic or de-identified unless a controlled production validation is authorized.
15.2 Test Scenario Catalogue¶
| Test ID | Requirement ID | Scenario | Test Type | Expected Result |
|---|---|---|---|---|
| TEST-ISE-001 | FR-ISE-PLT-001 | Run core workflows in an isolated environment with no commercial HIS licences or services, internet and external control planes disconnected | Operational readiness | Core and Tier 1 workflows run locally |
| TEST-ISE-002 | FR-ISE-PLT-001 | Attempt to load unmasked PHI into development; inspect credentials and network paths across environments | Security | Load refused; nothing shared between environments |
| TEST-ISE-003 | FR-ISE-PLT-002 | Remove one failure domain under a Tier 1 service | Resilience | Service continues; RTO/RPO met |
| TEST-ISE-004 | FR-ISE-PLT-002 | Request production admission for a service with an incomplete catalogue entry | Functional | Admission refused |
| TEST-ISE-005 | FR-ISE-PLT-003 | Run heavy analytical and bulk load alongside peak clinical transactions | Performance | Clinical latency within target; analytics throttled |
| TEST-ISE-006 | FR-ISE-PLT-004 | Induce clock drift beyond threshold on a node | Functional | Alert raised; Tier 1 node removed from routing |
| TEST-ISE-007 | FR-ISE-GWY-001 | Send requests with revoked credential, over limit, to a retired version and directly to a service bypassing the gateway | Security | All refused and logged; correlation ID present on accepted calls |
| TEST-ISE-008 | FR-ISE-GWY-002 | Publish a breaking change as a minor version; retire a version with active consumers | Functional | Both refused; deprecation notice issued for valid deprecation |
| TEST-ISE-009 | FR-ISE-GWY-003 | Third-party application requests data in scope, out of scope, after revocation, and for labelled data without permit; policy service unavailable | Security | Only permitted data returned; restricted data redacted; fail closed |
| TEST-ISE-010 | FR-ISE-INT-001 | Exercise a synchronous and an asynchronous interface under normal, retry and outage conditions; send an invalid and an unroutable message | Integration | Behaviour as specified; invalid and unroutable messages quarantined |
| TEST-ISE-011 | FR-ISE-INT-002 | Onboard a new partner on a certified interface type; attempt activation with missing attributes; send traffic on a suspended registration | Integration | No unrelated service modified; activation refused; traffic refused |
| TEST-ISE-012 | FR-ISE-INT-003 | Run the automated HL7 v2 and FHIR conformance suite; send messages with invalid MSH-9/10/12 and identifiers without assigning authority | Integration | Suite passes; invalid messages NACKed and quarantined |
| TEST-ISE-013 | FR-ISE-INT-003 | Deploy the core without a jurisdiction pack, then enable a pack | Integration | Core operates; pack tests pass without core change |
| TEST-ISE-014 | FR-ISE-INT-004 | Route a study through the platform and retrieve it; send data from registered and unregistered devices; run IHE actor/transaction tests | Integration | Identifiers preserved; unregistered device refused; tests pass |
| TEST-ISE-015 | FR-ISE-INT-005 | Inject duplicate and delayed deliveries, target outage and engine restart | Resilience | No duplicate clinical action; no acknowledged message lost |
| TEST-ISE-016 | FR-ISE-INT-005 | Replay dead-lettered items into a medication workflow with and without second authorization | Functional | Refused without authorization; no duplicate effect with it |
| TEST-ISE-017 | FR-ISE-INT-006 | Create a sent-but-unacknowledged message and an orphan inbound result; run reconciliation | Integration | Both appear on worklists; counts reconcile |
| TEST-ISE-018 | FR-ISE-EVT-001 | Inject failure of billing, analytics and registry consumers during bedside transactions; measure propagation latency | Resilience / Performance | Clinical transactions unaffected; backlog delivered on recovery; latency within target |
| TEST-ISE-019 | FR-ISE-EVT-001 | Replace the broker implementation in a test environment | Operational readiness | Event semantics unchanged; retained events preserved |
| TEST-ISE-020 | FR-ISE-EVT-002 | Publish events with missing envelope fields; run replay, duplicate, schema evolution, out-of-order and poison-event tests | Integration | Invalid events rejected; controlled outcomes; other keys unaffected |
| TEST-ISE-021 | FR-ISE-EVT-003 | Create a subscription; fail the endpoint; revoke authorization | Integration | Notification delivered; retried then error; no delivery after revocation |
| TEST-ISE-022 | FR-ISE-EVT-004 | Wi-Fi outage simulation with permitted and non-permitted actions, interrupted sync, conflict, expired cache and lost device | Clinical safety / Functional | No duplicate administration; no lost audit; states shown correctly; cache refused and wiped |
| TEST-ISE-023 | FR-ISE-REL-001 | Attempt direct push; submit changes with a secret, an invalid FHIR profile and a critical finding | Security | Push refused; pipeline fails; merge and promotion blocked |
| TEST-ISE-024 | FR-ISE-REL-002 | Rebuild a release from its tag; deploy an unsigned artifact; inspect the release manifest; the developer of a change approves its production promotion | Operational readiness / Security | Rebuild reproduces release; unsigned artifact refused; manifest complete; self-approval refused and audited |
| TEST-ISE-025 | FR-ISE-REL-003 | Upgrade with database migration and event schema change in mixed-version operation; fail a deployment health check | Integration | Mixed-version works; recovery plan restores service; change record complete |
| TEST-ISE-026 | FR-ISE-KEY-001 | Scan repositories and configuration for secrets; rotate a credential and certificate; request a secret without a grant | Security | No secrets found; rotation without interruption; access denied |
| TEST-ISE-027 | FR-ISE-KEY-002 | Review encryption configuration; penetration test of channels and stores; provision an unencrypted store | Security | Full coverage; provisioning refused |
| TEST-ISE-028 | FR-ISE-KEY-003 | Connect with untrusted, revoked and unbound certificates; rotate a node certificate | Security | Connections refused; rotation without interruption |
| TEST-ISE-029 | FR-ISE-NET-001 | Attempt non-allowlisted flows between zones; administer production outside the management path; isolate a compromised endpoint | Security | Flows blocked; access refused; endpoint contained |
| TEST-ISE-030 | FR-ISE-OBS-001 | Trace a transaction across all hops; induce dead-letter and silent telemetry source; review dashboards against PRS Appendix B | Operational readiness | Full trace; alerts raised; indicators present |
| TEST-ISE-031 | FR-ISE-OBS-002 | Simulate security events; interrupt the SIEM; place a preservation order | Security | Alerts actionable and searchable; no event loss; data preserved |
| TEST-ISE-032 | FR-ISE-BCR-001 | Restore from backup with integrity and application validation; attempt deletion of immutable copies with production credentials; restore using only recovery-zone access | Operational readiness | Restore evidence complete; deletion fails; isolated recovery succeeds |
| TEST-ISE-033 | FR-ISE-BCR-002 | Full DR exercise per tier without vendor-only access; reconcile afterwards | Operational readiness | Approved RTO/RPO met; reconciliation complete |
| TEST-ISE-034 | FR-ISE-BCR-003 | Simulated partner outage; downtime exercise with summaries, back-entry and reconciliation in representative departments | Clinical safety / Operational readiness | Critical workflows usable; reconciliation passes with duplicate prevention and provenance |
| TEST-ISE-035 | FR-ISE-BCR-004 | Produce a complete export; independent parse; count reconciliation; restore sample | Operational readiness | Independent validation succeeds |
| TEST-ISE-036 | FR-ISE-SUP-001 | Inspect release archive for SBOM; build with an unregistered dependency; inspect register evidence and replacement ADRs | Inspection / Functional | SBOM present; build fails; evidence complete |
| TEST-ISE-037 | FR-ISE-SUP-002 | Review release security evidence; attempt release with an open critical finding; let a finding and a risk acceptance expire | Inspection / Functional | Evidence approved; release blocked; escalation and reopening occur |
| TEST-ISE-038 | FR-ISE-SUP-003 | Inspect Domain 2 decisions in the Domain 10 architecture decision register and the supported-version report; open a dependency with an ADR reference on UI-ISE-011; deploy a component without a support owner | Inspection | Records complete; number, title and state shown read-only; non-compliance flagged |
| TEST-ISE-039 | FR-ISE-GWY-001 | Stop the Domain 10 policy service; send an external patient-data request, an internal Tier 1 chart read with a cached Permit younger and older than the maximum age, a read of restricted content, an internal write and a Break-the-Glass request; keep the outage for 15 minutes | Resilience | External request returns no data; fresh cached read served and audited; stale cache and restricted content denied; write rejected with "not saved" message; Break-the-Glass works; circuit opens per CFG-ISE-031; Tier 1 alert and ServiceStateChanged raised; downtime prompt at 15 minutes (GAP-ISE-009) |
15.3 Acceptance Criteria¶
Domain 2 is accepted for a release when:
- All approved Must requirements of this document in the release scope pass verification or have an approved, time-bound waiver (ACC-001).
- The platform workflows WF-ISE-001 to WF-ISE-009 pass end-to-end tests, and the platform's part in Tier 1 clinical scenario tests is evidenced (supports ACC-002).
- All critical interfaces demonstrate acknowledgement, error handling, replay, reconciliation and monitoring (ACC-005), and conformance suites pass for the selected profiles.
- No unresolved critical or high security vulnerability remains without formal risk acceptance by authorized leadership (ACC-003); encryption, segmentation, secret handling and node authentication pass assessment.
- Performance, event latency and availability targets, as approved, are met in load and resilience tests.
- Backup restore and disaster recovery tests meet the approved RTO/RPO for each service tier (ACC-006).
- Downtime and restoration reconciliation have been rehearsed by representative clinical departments with corrective actions closed (ACC-007).
- Complete export of data and configuration in documented formats has been independently validated (ACC-008).
- Technical record migration (section 7.7) and interface cutover reconciliation are validated.
- Support team, runbooks, escalation paths and service dashboards are operational (ACC-009), and every production service has a complete service catalogue entry.
- Outstanding risks of section 11.3 and open decisions of section 18.3 are resolved or formally accepted.
15.4 Requirement Verification Matrix¶
| Requirement ID | Test ID | Verification Method | Result | Evidence |
|---|---|---|---|---|
| FR-ISE-PLT-001 | TEST-ISE-001, TEST-ISE-002 | Test | Pending | To be recorded |
| FR-ISE-PLT-002 | TEST-ISE-003, TEST-ISE-004 | Test / Inspection | Pending | To be recorded |
| FR-ISE-PLT-003 | TEST-ISE-005 | Test / Analysis | Pending | To be recorded |
| FR-ISE-PLT-004 | TEST-ISE-006 | Test | Pending | To be recorded |
| FR-ISE-GWY-001 | TEST-ISE-007, TEST-ISE-039 | Test | Pending | To be recorded |
| FR-ISE-GWY-002 | TEST-ISE-008 | Test / Inspection | Pending | To be recorded |
| FR-ISE-GWY-003 | TEST-ISE-009 | Test | Pending | To be recorded |
| FR-ISE-INT-001 | TEST-ISE-010 | Test | Pending | To be recorded |
| FR-ISE-INT-002 | TEST-ISE-011 | Test / Inspection | Pending | To be recorded |
| FR-ISE-INT-003 | TEST-ISE-012, TEST-ISE-013 | Test | Pending | To be recorded |
| FR-ISE-INT-004 | TEST-ISE-014 | Test | Pending | To be recorded |
| FR-ISE-INT-005 | TEST-ISE-015, TEST-ISE-016 | Test | Pending | To be recorded |
| FR-ISE-INT-006 | TEST-ISE-017 | Test | Pending | To be recorded |
| FR-ISE-EVT-001 | TEST-ISE-018, TEST-ISE-019 | Test | Pending | To be recorded |
| FR-ISE-EVT-002 | TEST-ISE-020 | Test | Pending | To be recorded |
| FR-ISE-EVT-003 | TEST-ISE-021 | Test | Pending | To be recorded |
| FR-ISE-EVT-004 | TEST-ISE-022 | Test | Pending | To be recorded |
| FR-ISE-REL-001 | TEST-ISE-023 | Test / Inspection | Pending | To be recorded |
| FR-ISE-REL-002 | TEST-ISE-024 | Test / Inspection | Pending | To be recorded |
| FR-ISE-REL-003 | TEST-ISE-025 | Test / Inspection | Pending | To be recorded |
| FR-ISE-KEY-001 | TEST-ISE-026 | Test | Pending | To be recorded |
| FR-ISE-KEY-002 | TEST-ISE-027 | Test / Inspection | Pending | To be recorded |
| FR-ISE-KEY-003 | TEST-ISE-028 | Test | Pending | To be recorded |
| FR-ISE-NET-001 | TEST-ISE-029 | Test / Inspection | Pending | To be recorded |
| FR-ISE-OBS-001 | TEST-ISE-030 | Test / Inspection | Pending | To be recorded |
| FR-ISE-OBS-002 | TEST-ISE-031 | Test | Pending | To be recorded |
| FR-ISE-BCR-001 | TEST-ISE-032 | Test | Pending | To be recorded |
| FR-ISE-BCR-002 | TEST-ISE-033 | Test | Pending | To be recorded |
| FR-ISE-BCR-003 | TEST-ISE-034 | Test | Pending | To be recorded |
| FR-ISE-BCR-004 | TEST-ISE-035 | Test | Pending | To be recorded |
| FR-ISE-SUP-001 | TEST-ISE-036 | Inspection / Test | Pending | To be recorded |
| FR-ISE-SUP-002 | TEST-ISE-037 | Inspection / Test | Pending | To be recorded |
| FR-ISE-SUP-003 | TEST-ISE-038 | Inspection | Pending | To be recorded |
← 14. Technical and Architectural Constraints | Contents | Identifier index | 16. Implementation and Deployment Considerations →