[java] JUnitAssertionsShouldIncludeMessage: is no longer compatible with TestNG
A source code analyzer
Brought to you by:
adangel,
juansotuyo
This results in false positives on TestNG assertions. If TestNG is not supported, then it should be ignored entirely. However, it would be valuable to support it properly.
The rule will detect now whether testng is in use (via imports) and won't trigger anymore.
I've created a feature request to add TestNG rules -> [#1447]
Commit: https://github.com/pmd/pmd/commit/2452db15f431c10ab8729a7f18df768ad09ce5e1
Related
Issues: #1447