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/03/14 10:08:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17827034#comment-17827034 ]
Laszlo Kalina commented on SUREFIRE-2236:
-----------------------------------------
Hi [~sjaranowski]
We would like to upgrade the plugin in our projects but it looks not safe. Can I get help on this? Thanks.
> 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 is 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 project there will be no error. But if you use 3.0.0-M3 Surefire version the java.lang.IllegalArgumentException will came up. I think this is the expected behaviour not the 0 tests executed one.
> Please investigate this issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)