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

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

     [ https://issues.apache.org/jira/browse/SUREFIRE-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Slawomir Jaranowski updated SUREFIRE-2236:
------------------------------------------
    Fix Version/s: waiting-for-feedback

> 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
>            Priority: Major
>             Fix For: waiting-for-feedback
>
>         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)