JUnit4 and JUnit5 tests not running in IntelliJ
Use the following version of junit-jupiter-api
:
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.0.0-M4</version>
<scope>test</scope>
</dependency>
And also use on version 5.0.0-M4
for all junit-jupiter
dependencies.