Answer product-owner round 1: warn of longer passes, report each run's wall time, drop text-only mutants
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user