Problems when running JUnit tests with a custom runner

Hello

I'm developing a JUnit runner called HavaRunner (https://github.com/havarunner/havarunner).

When I run multiple @RunWith(HavaRunner.class) annotated classes in IDEA, I see the following message in my IDEA concole:

Wrong test finished. Last started: [] stopped: myTestName(com.github.myapp.MyUITest$MyTestInStaticInnerClass); class org.junit.runner.Description

Any idea what could cause this?

The message seems to come from within IDEA, since I cannot find the string "Wrong test finished" in any of my dependencies.

0
3 comments
Avatar
Permanently deleted user

I found some relevant discussion here: https://github.com/cucumber/cucumber-jvm/issues/73.

0
Avatar
Permanently deleted user

This commit solved the problem: https://github.com/havarunner/havarunner/commit/e56eb98f69e8222d9839e394e282db9a3c8e1890.

I was invoking the ignore API of JUnit. The correct solution was to invoke the assumption-failed API.

All in all, the problem was not caused by Intellij IDEA.

0

Please sign in to leave a comment.