Inspectopedia 2024.3 Help

Test frameworks

Assertion is suppressed by 'catch'   New in this release

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

Constant assert argument   New in this release

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

Message missing on assertion   New in this release

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

Misordered 'assertEquals()' arguments   New in this release

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

Simplifiable assertion   New in this release

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

Last modified: 11 September 2024