Join GitHub today
[java] JUnit 4 false positives for JUnit 5 tests #940
Affects PMD Version:
JUnit 4 rules cause false positive in JUnit 5 tests. It looks like the new annotations for JUnit 5 aren't being handled as they should be.
Code Sample demonstrating the issue:
To reproduce the problem, remove the above workaround line and then launch the following:
Running PMD through: Gradle