Description of rule RSPEC-1607 has been updated to:
- change its title
- update the issue message
also cover junit5 @Disabled annotation, and not only Junit4 @IgnoreThe JUnit5 @Disabled annotation was already supported.- update the issue description to include a sentence about the assumeTrue and assumeFalse calls
The current implementation also targets ignoring tests with Assume.assumeFalse(true); , we should check if it makes sense with the current description, and eventually:
Remove completely this case. It is not documented anywhere, it could be removed without any trouble.Add a new rule. If it happens that this pattern is actually used, create a rule targeting it.
The description was updated with a sentence explaining the case of using assumes.
- contributes to
-
MMF-2015 [Java] Test code quality: JUnit related rules
-
- Closed
-
- relates to
-
RSPEC-4013 Java: JUnit4 @Ignored and JUnit5 @Disabled annotations should be used to disable tests and should provide a rationale
- Active
-
RSPEC-1607 Tests should not be ignored
- Active