You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Laszlo Kalina (Jira)" <ji...@apache.org> on 2024/02/21 16:20:00 UTC

[jira] [Created] (SUREFIRE-2236) Surefire plugin absorb exception when Testng used with Guice

Laszlo Kalina created SUREFIRE-2236:
---------------------------------------

             Summary: Surefire plugin absorb exception when Testng used with Guice  
                 Key: SUREFIRE-2236
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2236
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Surefire Plugin
    Affects Versions: 3.0.0-M4
            Reporter: Laszlo Kalina
         Attachments: DepInject.java, ExampleTest.java, pom.xml

I have a small Maven demo project where I use Testng a Guice DI. If an error occurs in the Guice initialisation class it showing up when I use 3.0.0-M3 but from 3.0.0-M4 the exception not appears, only just 0 test executed and the build marked as succeeded. 
I attached my example project files. If you build this small example project there will be no error. But if you use 3.0.0-M3 Surefire version the java.lang.IllegalArgumentException will came up .
Please investigate this issue. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)