Inspectopedia 2024.3 Help

Test frameworks

'assertEquals()' between objects of inconvertible types   New in this release

Reports calls to assertion methods where the "expected" and "actual" arguments are of incompatible types.

Failed line in test  

Reports failed method calls or assertions in tests.

Test class without tests   New in this release

Reports non-abstract test cases without any test methods.

Test in product source   New in this release

Reports test classes and test methods that are located in production source trees.

Test method without assertions   New in this release

Reports test methods that do not contain any assertions.

Test-only usage in production code   New in this release

Reports @TestOnly- and @VisibleForTesting-annotated methods and classes that are used in production code.

TestCase with non-trivial constructors   New in this release

Reports test cases with initialization logic in their constructors.

Last modified: 11 September 2024