Inspectopedia
 
2024.3

'@RunWith' annotation already exists in a parent class

Warning
Reliability
New
Last modified: 03 December 2024

Reports when parent and child classes in a JUnit test hierarchy are annotated with @RunWith. It can lead to unexpected testing behavior.

Example:

New in 2024.1