dead-tests finds tests that never run or can never fail
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
dead-tests is an open-source scanner that finds tests which look like coverage but never run or can never fail, such as duplicate Python function names that shadow earlier tests, Java methods JUnit 5 never collects, and assertions placed after a raising call inside pytest.raises.