Skip to content

Commit 195c8f9

Browse files
committed
style(PMD): extraAssertMethodNames verify,then
1 parent 1267107 commit 195c8f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gradle/config/pmd/ruleset.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
<exclude name="JUnitAssertionsShouldIncludeMessage"/>
1212
<exclude name="JUnitTestContainsTooManyAsserts"/>
1313
</rule>
14+
<rule ref="category/java/bestpractices.xml/JUnitTestsShouldIncludeAssert">
15+
<properties>
16+
<property name="extraAssertMethodNames" value="verify,then"/>
17+
</properties>
18+
</rule>
1419

1520
<rule ref="category/java/codestyle.xml">
1621
<exclude name="AtLeastOneConstructor"/>

0 commit comments

Comments
 (0)