JUnit 5 M4 and IntelliJ IDEA 2017.1
Answered
I downloaded today: https://github.com/junit-team/junit5-samples
When I start the tests of "junit5-gradle-consumer" in IntelliJ the result is 1 passed and 5 not started. Only the one JUnit 4 test passed, which is not correct.
Connected to the target VM, address: '127.0.0.1:55015', transport: 'socket'
Apr 03, 2017 11:54:58 AM org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry loadTestEngines
INFO: Discovered TestEngines with IDs: [junit-jupiter, junit-vintage]
Disconnected from the target VM, address: '127.0.0.1:55015', transport: 'socket'
Process finished with exit code -1
On commandline the result is 4 tests passed, 1 test skipped, which is correct.
I assumed IntelliJ IDEA already supports JUnit 5 milestones.
Is there a solution?
Please sign in to leave a comment.
Try M3 until the fix for https://youtrack.jetbrains.com/issue/IDEA-170817 is released.
Thank you for the quick reply. Actually I wanted to use M4 and not M3.
Seeing that problem, a few suggestions come to my mind: