43 / 62 · 22 Test Strategy & Quality Metrics · Measuring Test Effectiveness← prev⊞ allnext →☰ Read as one page
5.9Hands-On Exercise
- Calculate your project's code coverage. Now review 5 tests in the covered area -- are they genuinely testing behavior or just executing code?
- Run mutation testing (Stryker, PIT, or mutmut) on one critical module. Compare the mutation score to the code coverage. What is the gap?
- Create a requirement traceability matrix for your current sprint's stories. Are any requirements untested?
- Calculate the risk-weighted coverage for your project. Which high-risk area has the lowest coverage?
- Identify one metric your team tracks that might be subject to Goodhart's Law. Propose a companion metric that would expose gaming.