Tesztek bizonyítóerejének vizsgálata
A tesztet ténylegesen igazolt működése szerint értékeli, beleértve a módosított kód reális regressziójának felismerését.
test-adequacy-review
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha sok zöld teszt mellett is kérdéses, hogy a követelményt vagy jelentett hibát valóban elérték-e.
Miben segít neked?
- Igazolja, hogy a teszt a megváltozott éles kódútvonalat futtatja.
- Ellenőrzi, hogy az állítás megkülönbözteti az elvárt működést a lehetséges hibától.
- Bizonyítatlan termékhiba állítása nélkül jelzi a hiányzó hibafedést.
Például ezt kérheted
Vizsgáld meg, elkapnák-e a zöld tesztek a jelentett duplaszámlázást. Elkülönített ellenőrzésben mutasd meg a duplikációt okozó működést. Ha a teszt így is sikeres, keresd a hiányzó állítást vagy kihagyott éles kódutat.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Test Adequacy Review
A passing test suite is only as trustworthy as what its assertions actually prove. Never equate test file count or line coverage with correctness; inspect what the tests actually execute and assert.
Workflow
- Verify that tests exercise the real modified code path:
- Check whether the test calls the actual production function, endpoint, or component, or whether over-mocking replaces the very logic that was changed (testing the mock instead of the code).
- Ask the mutation question: "If I reverted the core logic line in the production diff or flipped an
ifcondition, would at least one test in this PR fail?"
- Audit assertion quality and specificity:
- Flag weak or tautological assertions (
expect(res).toBeDefined(),expect(fn).not.toThrow(), or only checking HTTP200without verifying the returned payload or persisted database state). - Verify that tests assert both positive outcomes (the right record changed to the right value) and negative invariants (other tenants' records, unauthorized fields, or rejected states remained untouched).
- Flag weak or tautological assertions (
- Check coverage of failure, boundary, and regression cases:
- Confirm that the test suite covers:
- Each explicit acceptance criterion from the specification.
- Key rejection paths (invalid input, unauthorized actor, conflicting version/state).
- For bug fixes: a deterministic regression test that reproduces the exact failure mode before the fix and passes after.
- Confirm that the test suite covers:
- Distinguish missing tests from proven product bugs:
- A missing or weak test is a verification gap, not automatically proof that the production code is broken. Report missing test coverage clearly as a test-adequacy finding and specify the exact scenario that needs a test.
Csomagban lévő fájlok 1
SKILL.md
A skillcsomag bemutatása
test-adequacy-review
test-adequacy-review: Átadás előtt összeveti a specifikációt és a kódot az elfogadási feltételekkel, üzleti invariánsokkal és biztonsági határokkal.
Összecsukás
test-adequacy-review
test-adequacy-review: Átadás előtt összeveti a specifikációt és a kódot az elfogadási feltételekkel, üzleti invariánsokkal és biztonsági határokkal.
A teljes skillt és a hozzá tartozó fájlokat tartalmazza (1 fájl). Az alábbi eredeti leírás rögzíti a pontos alkalmazási területét.
A skill eredeti leírása (a forrás nyelvén)
Use when evaluating tests by their actual behavioral proving power rather than file or assertion count, checking whether they exercise real code paths, failure conditions, and regression risks.
Telepítsd a skillt, nézd át a forrását és a megbízhatósági beállításait, majd engedélyezd a megfelelő projektben vagy ügynöknél.
Előfeltételek
- A számítógépedre telepített Orqestria.
