dimanche 17 décembre 2017

JUnit 5 tests are not recognizable in IntelliJ Idea

I'm trying to convert to JUnit 5 version inside IntelliJ CE 2017.2.3 and experiencing the following:

enter image description here

Same tests ran with JUnit 4, the error manifests itself only with the upgrade.

The pom.xml portion:

   <!-- <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.12</version>
    </dependency>-->
    <dependency>
        <groupId>org.junit.jupiter</groupId>
        <artifactId>junit-jupiter-api</artifactId>
        <version>RELEASE</version>
    </dependency>
</dependencies>

These Java snippets might be relevant:

enter image description here

enter image description here

What am I doing wrong?

Aucun commentaire:

Enregistrer un commentaire