Repository navigation
Releases
Releases · dylanpulver/dead-tests
v1.3.0: Kotlin
New check: uncollected-kotlin-tests. It finds Kotlin test functions missing @Test under JUnit 4, JUnit 5 and kotlin.test. It handles backtick names, = runTest { } bodies and @Nested inner classes. It skips Kotest, Spek and TestNG files.
On okhttp, ktor, Exposed, moshi and wire (3,624 Kotlin files) it reports one function: okhttp's testCachedRequest. That function lost its @Test in 2020, when a new test was inserted between the annotation and the function.
uses: dylanpulver/dead-tests@v1 picks this up automatically.
v1.2.0
v1.1.0
dead-tests v1.0.0
First public release: 21 scanners across Python, Java, C#, PHP, Ruby, Go, Rust and JS, each checked against a golden case.
docker run --rm -v "$PWD:/src" ghcr.io/dylanpulver/dead-tests