What problem does it solve?
This Skill addresses the critical need for comprehensive and high-quality test coverage, ensuring that new features are well-tested, existing code remains stable, and potential bugs are caught early.
Core Features & Use Cases
- Test Existence Verification: Checks if tests are present for all new and modified functions.
- Coverage Analysis: Audits test coverage against defined minimums and targets for different code areas.
- Quality Assessment: Evaluates tests for independence, determinism, accurate mocking, and meaningful assertions.
- Edge Case Identification: Ensures that tests cover various scenarios, including empty inputs, maximum lengths, special characters, and boundary values.
- Use Case: Before merging a new feature, run this audit to confirm that all code paths are covered by tests, identify any missing edge cases, and verify that the test suite passes without errors or warnings.
Quick Start
Run the audit-test skill to check the test coverage for the entire project.