Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 357 Bytes

JUnitFailWithoutMessage.md

File metadata and controls

11 lines (6 loc) · 357 Bytes

Pattern: JUnit - fail() without message

Issue: -

Description

This rule detects JUnit calling the fail() method without an argument. For better error reporting you should always provide a message.

Further Reading