From e1dcbf43ad2ffe40c62a0b2bdca75f588d5f4a08 Mon Sep 17 00:00:00 2001 From: systemfsoftware-maker <248545757+systemfsoftware-maker@users.noreply.github.com> Date: Mon, 30 Nov 2026 05:49:15 +0000 Subject: [PATCH] docs: fix tests rerouted by a refactor instead of deleting them - SF-TST-5 now lists a boundary, entrypoint or protocol that moved while the behaviour stayed among the reach faults a test may be fixed for. - Deleting a worthless test stays welcome and never owes a replacement. --- CODING_STANDARDS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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