Skip to content

Add dead-tests to Testing > Miscellaneous - #1379

Open
dylanpulver wants to merge 2 commits into
akullpp:mainfrom
dylanpulver:add-dead-tests
Open

dylanpulver wants to merge 2 commits into
akullpp:mainfrom
dylanpulver:add-dead-tests

Conversation

@dylanpulver

@dylanpulver dylanpulver commented Nov 12, 2026 •

Copy link
Copy Markdown

Adds dead-tests, a static scanner for JUnit test methods that are never collected because @Test is missing, and for asserts after the throwing call under @Test(expected=...). The scanner itself is Python, and it also covers other languages, but two of its checks are JUnit-specific and one covers Kotlin. I wrote it.

Suggestion type

  • Project
  • Resource

Checklist

  • I searched the list and existing issues for duplicates.
  • I changed README_SOURCE.md, not the generated README.md.
  • This pull request contains one suggestion.
  • The suggestion is relevant to Java or the JVM and fits its chosen category.
  • I used the canonical project or resource link.
  • The suggestion is current and maintained.
  • The concise, neutral description explains its distinguishing value and ends with punctuation.
  • Licensing is clear and any restrictive terms are disclosed where applicable.

Summary by cubic

Adds dead-tests to the "Other stuff related to testing" section of README_SOURCE.md as a new entry in the curated project list.

Written for commit 65d8ac8. Summary will update on new commits.

View guided diff

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 1 file

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

Comment thread README_SOURCE.md Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant