System tests live under Products › Design Controls › System Tests, labelled "Software Tests" for software products. A system test verifies one or more design inputs: a procedure with steps and expected results that someone, or something, can execute. Executing it is a separate thing, a System Test Run.
This is verification in the ISO 13485 §7.3.6 sense: evidence that the outputs meet the inputs. IEC 62304 §5.7 wants software system testing against the requirements. The rule Formwork enforces is simple: every design input needs at least one test.
Writing System Tests
Click "New" and fill in:
- Title, as in "Test the diagnosis feature".
- Description: setup, preconditions, required hardware. The AI button can draft it.
- "Steps" and "Expected": two numbered lists, side by side. Formwork pre-fills a two-line example so you see the shape. Keep one action per step and one observable result per expected line; that's what makes a test run unambiguous later.
- "Design Inputs which are covered by this Test", plus optional design outputs and risk controls the test verifies.
Design input |
System test |
One step and its expected result |
|---|---|---|
Show the suggested diagnosis with its confidence score |
Test the diagnosis display |
Submit the sample case → The diagnosis appears with a confidence between 0 and 100% |
Warn when input data is older than 24 hours |
Test the stale data warning |
Upload data timestamped 25 hours ago → A warning banner is shown before analysis |
Encrypt patient data at rest |
Test encryption at rest |
Read the database file directly → No plaintext patient data is found |
"AI-Generate" pre-selects the design inputs that have no test yet and writes one test per input, with steps and expected results, for you to edit and save.
Good to Know
- Missing design inputs and missing test runs are errors in the Sanity Check. So is a test whose latest run is still planned; a failed latest run is a warning.
- Deleting a test that has runs deletes those runs too; Formwork asks first.
- Batch review criteria: complete, covering all relevant design inputs, traceable, and executable.
- Automated tests belong here too. Write the test as the CI job that runs and what it asserts, then record its outcome as a run.
- The "System Tests Spec" spreadsheet in the Audit Export is your test specification, and the test-to-design-input matrix shows coverage at a glance.