diff --git a/CODING_STANDARDS.md b/CODING_STANDARDS.md index adeea0d..2a4004c 100644 --- a/CODING_STANDARDS.md +++ b/CODING_STANDARDS.md @@ -72,7 +72,8 @@ A state the compiler refuses needs no test and cannot return unnoticed. test with a defective assertion (checking steps, configuration, or file layout; copying expected values from code; unable to fail; or covering removed behaviour); never rewrite, retitle, or replace it. Fix a test whose only fault - is how it reaches the code (an internal import or real clock). Deleting a + is how it reaches the code (an internal import, a real clock, or a boundary, + entrypoint or protocol that moved while the behaviour stayed). Deleting a worthless test is welcome and does not count as lost coverage. When a valid test fails, fix the code under test, not the test. - Why: reshaping a bad test keeps its cost and false confidence; weakening a