A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/1455 below:

False positives for assert methods named "check" and "verify" · Issue #1455 · pmd/pmd · GitHub

Affects PMD Version: 6.4.0

Rule: JUnit tests should include assert() or fail()
JUnitTestsShouldIncludeAssert

Description: A large number of issues for our codebase are false positives generated by this rule. See https://app.codacy.com/app/jtablesaw/tablesaw/issues and select the rule under "Pattern"

This is because it PMD not detect asserts that are called indirectly by calling another method first

Code Sample demonstrating the issue:

https://github.com/jtablesaw/tablesaw/blob/ed5cedfa9884133160d43638c56683ca4964e7c1/core/src/test/java/tech/tablesaw/columns/times/PackedLocalTimeTest.java#L170

Running PMD through: Codacy

jcamiloradamesa, jordanjennings, LbISS, PierreAdam, antoniivanov and 1 more


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