-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[java] Fix #4503: A false negative about JUnitTestsShouldIncludeAssert and testng #4507
Conversation
Generated by 🚫 Danger |
I suppose we should rename the rule |
Yeah, that would apply to several JUnit rules actually. And there are other misnomers:
I'll create a separate issue from this comment to track these required renames / doc changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
...urces/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/JUnitTestsShouldIncludeAssert.xml
Outdated
Show resolved
Hide resolved
…/bestpractices/xml/JUnitTestsShouldIncludeAssert.xml [skip ci]
Describe the PR
This PR uses method
isTestMethod
instead methodisJUnitMethod
.Related issues
Ready?
./mvnw clean verify
passes (checked automatically by github actions)