From 11747e30b9aef61a1ca4e7df836ba65fc85092fe Mon Sep 17 00:00:00 2001 From: Dylan Pulver Date: Thu, 12 Nov 2026 11:33:53 -0500 Subject: [PATCH] Add dead-tests --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index db5b989..5dc773f 100644 --- a/README.md +++ b/README.md @@ -268,6 +268,7 @@ Collection of awesome Python resources for testing and generating test data. - [Bite](https://github.com/connabyss/bite) - Takes each recent fix commit back out of a copy of the project, runs the tests, and reports which fixes no test noticed. Free check, no API key; works with pytest and other runners. - [CrossHair](https://github.com/pschanely/CrossHair) - An analysis tool for Python that blurs the line between testing and type systems. - [csv-quality-gate](https://github.com/hermes-labs-ai/csv-quality-gate) - A Python CLI that checks CSV test datasets and pipeline inputs for missing columns, empty cells, and duplicate rows, with configurable rules and CI exit codes. +- [dead-tests](https://github.com/dylanpulver/dead-tests) - Finds pytest and unittest tests that never run or never assert, such as a second `def test_x` that shadows the first, or an assert after the raising call inside `pytest.raises`. - [detect-test-pollution](https://github.com/asottile/detect-test-pollution) - Finds the test that pollutes another: when a test passes alone but fails in the full suite due to side effects of an earlier test, it bisects the pytest test list to identify the culprit. - [flakewhy](https://github.com/hamarshehmhmd/flakewhy) - Reruns a pytest suite under repeat, shuffle, timezone and hash-seed variations, confirms why each flaky test flakes, bisects order-dependent failures to the polluting test and prints a one-line repro. - [ghostwriter](https://hypothesis.readthedocs.io/en/latest/ghostwriter.html) - Writing tests with Hypothesis frees you from the tedium of deciding on and writing out specific inputs to test.