Answer product-owner round 1: warn of longer passes, report each run's wall time, drop text-only mutants

This commit is contained in:
2026-10-13 11:07:03 +02:00
parent 8ee6d79184
commit 354676be95
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -44,7 +44,7 @@
- Write tests first for the behaviour we want, then implement until they pass.
- Changing tests and changing other code are two separate processes — be very careful about doing both at once.
- Use properly randomised UUID v7s — never `aaaa-0000`-style placeholders.
* Every mutant of a changed line that changes behaviour fails a test. A mutant is a small change to the code, such as a flipped comparison; one no test notices marks behaviour the tests would let break.
* Every mutant of a changed line that changes behaviour fails a test. A mutant is a small change to the code, such as a flipped comparison; one no test notices marks behaviour the tests would let break. The stability pass checks this with a mutation run on the chunk's changed lines.
* Idempotent data writing.
- Typical example: `PUT /resource/{id}` instead of `POST /resource` + Idempotent-Id header.
* Handle errors explicitly, as values — avoid the exception path.