Skip to content

[java] Follow-up on #6809: Add tests - #6838

Merged
UncleOwen merged 1 commit into
pmd:mainfrom
UncleOwen:add-tests-for-hasXXXTests
Jul 2, 2026
Merged

UncleOwen merged 1 commit into
pmd:mainfrom
UncleOwen:add-tests-for-hasXXXTests

Conversation

@UncleOwen

Copy link
Copy Markdown
Member

Describe the PR

Add tests for TestFrameworksUtil.

  • isTestClass()
  • hasJUnit4Tests()
  • hasJUnit5Tests()
  • hasTestNGTests()

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • [n/a] Added (in-code) documentation (if needed)

* isTestClass
* hasJUnit4Tests
* hasJUnit5Tests
* hasTestNGTests
@UncleOwen
UncleOwen requested a review from lukasgraef July 1, 2026 18:10
@pmd-actions-helper

Copy link
Copy Markdown
Contributor

Documentation Preview

No relevant source code has been changed, pmdtester skipped.

(comment created at 2026-07-01 18:25:44+00:00 for 5424a7f)

@lukasgraef lukasgraef left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@UncleOwen UncleOwen added this to the 7.27.0 milestone Jul 2, 2026
@UncleOwen
UncleOwen merged commit e30a701 into pmd:main Jul 2, 2026
12 checks passed
@UncleOwen
UncleOwen deleted the add-tests-for-hasXXXTests branch July 2, 2026 13:33
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.

2 participants