Commit 016c14d
committed
Update junit related PMD rules
The following rules are disabled:
* JUnitSpelling: Checking the spelling of several junit methods is no
longer required with junit 4 since we use annotations to mark junit
related methods.
* JUnitTestsShouldIncludeAssert: We use Mockito verification in many
tests. Hence, it is okay to have tests without asserts.
* JUnitAssertionsShouldIncludeMessage: Including a message in every
assert appears to be too verbose.
The commit also adds the .eclipse-pmd file to gitignore. This file
holds the configuration of the eclipse-pmd plugin (an alternative to
the pmd-eclipse-plugin).1 parent 16c3bcb commit 016c14d
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
0 commit comments