AI development/GitHub/Tool
test-redundancy
by pekral·Last observed 2026-10-26
★ 0 stars⑂ 0 forks
A PHP development tool for PHPUnit or Pest suites that finds tests whose covered source lines are already covered by other tests. It runs the suite with per-test coverage and returns JSON candidates to delete, merge into a dataset, or review, including each candidate’s additional assertions.
Useful for
- Inspect a PHP test folder or file to identify overlapping tests and review their additional assertions.
Key features
- It returns JSON candidates describing whether to delete, merge into a dataset, or review a test, including what the test asserts beyond overlapping coverage.
Requirements & limitations
- Requires PHP ^8.4, a compatible php-code-coverage package, a pcov or xdebug coverage driver, and a Pest or PHPUnit test runner.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.