You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/02/24 00:04:15 UTC

[GitHub] [maven-surefire] Tibor17 commented on a change in pull request #474: [SUREFIRE-2000] Improve assertions in Surefire1787JUnit5IT

Tibor17 commented on a change in pull request #474:
URL: https://github.com/apache/maven-surefire/pull/474#discussion_r813435614



##########
File path: surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1787JUnit5IT.java
##########
@@ -109,14 +115,18 @@ public void testNgWithJupiterEngine()
             .executeTest()
             .verifyErrorFree( 2 )
             .verifyTextInLog( "Running pkg.JUnit5Test" )
-            .verifyTextInLog( "Running pkg.TestNGTest" );
+            .verifyTextInLog( "Running pkg.TestNGTest" )
+            .verifyTextInLog(
+                "Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider" );
     }
 
     @Test
     public void junit4Runner()
     {
         unpack( "junit5-runner" )
             .executeTest()
-            .verifyErrorFreeLog();
+            .verifyErrorFree( 1 )
+            .verifyTextInLog( "Running pkg.JUnit5Tests" )
+            .verifyTextInLog( "Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider" );

Review comment:
       `JUnit4Provider` is the actual status with the bug in ASM.
   It should be `JUnitPlatformProvider` after the final fix. WDYT?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org