Testing and review

How code is shown to be correct.

1What it covers

How code is shown to be correct. The topic covers unit tests, tests of whole processes, tests of edge cases and failures, automated runs on every change, review by a second person, and the response to findings. It starts with a change and ends with a tested and reviewed release. A worked example shows the steps. Common mistakes are noted along the way.

2Why it matters

A test that runs on every change finds a fault when it is cheap to fix. A second reader sees what the author does not. In trading, an untested change can lose money in minutes.

3The skill it belongs to

4Roles that use it

Updated 5 Nov 2026