Tibor17 commented on issue #183: junit5
URL: https://github.com/apache/maven-surefire/pull/183#issuecomment-381310150
 
 
   I configured maven-enforcer-plugin. Now I have 3 errors and not 4.
   I think it would be worth to split junit5 tests from junit4.
   
   On Sat, Apr 14, 2018 at 8:56 AM, Christian Stein <notificati...@github.com>
   wrote:
   
   > I got a new problem because you have compiled one artifact with
   > JDK9:
   >
   > [INFO] Restricted to JDK 1.8 yet
   > org.junit.platform:junit-platform-commons:jar:1.1.1:compile contains
   > META-INF/versions/9/org/junit/platform/commons/util/ModuleUtils.class
   > targeted to 53.0
   >
   > "Who" generates that information message? enforcer? Can you configure it
   > to ignore classes below META-INF/versions/?
   >
   > [ERROR] junitplattform.BasicTest.testSetUp() Time elapsed: 0.046 s <<<
   > FAILURE! org.opentest4j.AssertionFailedError: setUp was not called
   >
   > Running junitplattform.BasicTest standalone works fine.
   > Do the its tests below https://github.com/Tibor17/maven-surefire/tree/new-
   > junit5/surefire-its/src/test/resources/junit5/src/test/java/junit5 work?
   > If yes, what's different here compared to the junitplattform its test
   > setup?
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/maven-surefire/pull/183#issuecomment-381308724>,
   > or mute the thread
   > 
<https://github.com/notifications/unsubscribe-auth/AA_yR1GCcSTVrjZRoTE7xqYzs5qWHp-9ks5toZ2GgaJpZM4TUn3g>
   > .
   >
   
   
   
   -- 
   Cheers
   Tibor
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to