Inspectopedia Help

Test frameworks

Assertion is suppressed by 'catch'  

Reports assert statements and test framework assertions that are suppressed by a surrounding catch block.

Constant assert argument  

Reports constant arguments in assertTrue(), assertFalse(), assertNull(), and assertNotNull() calls.

Message missing on assertion  

Reports calls to assertXXX() or fail() without an error message string argument.

Misordered 'assertEquals()' arguments  

Reports calls to assertEquals() that have the expected argument and the actual argument in the wrong order.

Simplifiable assertion  

Reports any assert calls that can be replaced with simpler and equivalent calls.

Last modified: 18 June 2024