04/15/2019, 9:17 AM
ich have a strange behavior of intellij when executing tests. When i use the icon in the editor pane of a unit tests to execute a test class which contains a failing test intellij prints an execption into the console
java.lang.AssertionError: java.lang.NoClassDefFoundError: org/opentest4j/AssertionFailedError
. When i execute the very same test using the
target from the gradle view eveyrhing is fine an in the console i can fnid the actual reaons why the test fails. but then if i use the
rerun failed tests
icon and thus executing the test without explicitly using the gradleview, i again get the correct (failing) tests result