Execute single test case with JUnit 5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Execute single test case with JUnit 5

Francesco Chicchiriccò
Hi all,
we're using junit-jupiter-engine 5.0.1 [1] and junit-platform-surefire-provider 1.1.0-SNAPSHOT with maven-surefire-plugin 2.20.1 [2] and maven-failsafe-plugin 2.20.1 [3].

All works good but one thing: when attempting to run a single test case [4], it seems that all methods from the class are run.

Any idea of what is missing?

TIA
Regards.

[1] https://github.com/apache/syncope/blob/master/pom.xml#L1603-L1608
[2] https://github.com/apache/syncope/blob/master/pom.xml#L1814-L1831
[3] https://github.com/apache/syncope/blob/master/pom.xml#L1832-L1857
[4] https://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html#Running_a_Set_of_Methods_in_a_Single_Test_Class

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]