Show HN: Dead-tests finds tests that never run or can never fail
Category: devtools
Tags: static-analysis, testing, linter, ci, multi-language
Score: 7.8/10 (Innovation: 7, Technical: 7, Documentation: 9, Utility: 8)
Dead-tests is a static analysis tool that finds tests which are never collected by the test runner or contain assertions that can never execute, across 9 languages. It covers 22 specific patterns, is packaged as single-file stdlib-only checks, and has already produced merged fixes in major projects like Vue, Laravel, and pydantic.
Target audience: software engineers, QA engineers, devops
Repository: https://github.com/dylanpulver/dead-tests · Python · MIT · 1 stars
View on Hacker News