Affects PMD Version:
6.0.0
Rule: TestClassWithoutTestCases
Description:
Perhaps this issue might be better place in the pmd-eclipse project - I don't know.
I have a class extending the class TestCase (not junit.framework.TestCase, it's a self-made one) without a test method and there is no warning from PMD.
On a colleague's notebook (same Eclipse version, same PMD version, same Java version, same Project) this class has a warning.
I don't whether there should be a warning (because the class extends a class called TestCase) or not (because it's not the JUnit TestCase class) in this case. I could live with both. But the result should always be the same.
I don't know how to further examine this.
Code Sample demonstrating the issue:
Running PMD through: Eclipse
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4