📦 deps(skills): sync thirdparty skills
This commit is contained in:
+9
-7
@@ -62,8 +62,7 @@ Look for:
|
||||
to the observable behavior?
|
||||
- Are tests coupled to private methods or internal state directly?
|
||||
|
||||
If brittleness is systemic (most tests in the file break on a rename) → 🔴 Critical.
|
||||
If isolated (1–2 brittle tests) → 🟢 Suggestion.
|
||||
Severity: use the T2 Severity Guide in `../_shared/test-decay-risks.md`.
|
||||
|
||||
### Step 2b: Scan for Mock Abuse
|
||||
|
||||
@@ -97,8 +96,8 @@ Look for:
|
||||
- Is the same business scenario covered at unit, integration, and E2E level with no
|
||||
difference in what each layer is testing?
|
||||
|
||||
If duplication is systemic (10 or more instances) → Critical.
|
||||
If localized (3–5 instances) → Warning.
|
||||
Severity: use the T3 Severity Guide in `../_shared/test-decay-risks.md`, with instance
|
||||
counts as the tiebreaker — 🔴 10+ instances, 🟡 3–9, 🟢 1–2.
|
||||
|
||||
### Step 4: Scan for Coverage Illusion and Architecture Mismatch
|
||||
|
||||
@@ -131,9 +130,12 @@ Look for Architecture Mismatch:
|
||||
|
||||
**Test suite performance:** A slow test suite is a first-class maintainability risk — it
|
||||
breaks the fast-feedback loop and causes developers to skip running tests locally.
|
||||
- If the full suite runtime is known and > 10 minutes → 🟡 Warning
|
||||
- If the full suite runtime is > 30 minutes or unknown → 🔴 Critical (unknown suite time
|
||||
means nobody is running it regularly)
|
||||
- If the full suite runtime is > 10 minutes → 🟡 Warning (per the T6 Severity Guide in
|
||||
`../_shared/test-decay-risks.md`; runtime alone does not reach Critical)
|
||||
- Runtime > 30 minutes, or unknown because nobody runs the suite, is still 🟡 Warning —
|
||||
but say so explicitly in the Symptom. It reaches 🔴 Critical only when combined with a
|
||||
Critical T6 condition: legacy code under modification with no seams and no
|
||||
characterization tests, or a fully inverted pyramid
|
||||
- If tests that could be unit tests are integration tests, that is a Performance Mismatch:
|
||||
each misclassified test adds seconds of avoidable wait time
|
||||
|
||||
|
||||
Reference in New Issue
Block a user