You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Dan Tran <da...@gmail.com> on 2022/03/08 05:56:21 UTC

Quick test at maven-sure-3.0-M6-SNAPSHOT

Hi

My surefire classpath contains both junit4 and junit5 providers, and
surefire beautifully run both junit4 and junit test classes

with  3.0-M6-SNAPSHOT,  surefire ignores all junit 5 test class

[INFO] --- maven-surefire-plugin:3.0.0-M6-SNAPSHOT:test (default-test) @
xxxt ---
[INFO] Surefire report directory: C:\x\ppdm\y\z\xxx\target\surefire-reports
[INFO] Using auto detected provider
org.apache.maven.surefire.junit4.JUnit4Provider
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]

is it a known issue?

thanks

-D

Re: Quick test at maven-surefire-3.0-M6-SNAPSHOT

Posted by Dan Tran <da...@gmail.com>.
found this matched JIRA https://issues.apache.org/jira/browse/SUREFIRE-2033

-D

On Mon, Mar 7, 2022 at 10:39 PM Dan Tran <da...@gmail.com> wrote:

> From the console log,  looks like junit4 provider got picked up first and
> lock-in?
>
> -D
>
> On Mon, Mar 7, 2022 at 9:56 PM Dan Tran <da...@gmail.com> wrote:
>
>>
>> Hi
>>
>> My surefire 3.0.0-M4 classpath contains both junit4 and junit5 providers,
>> and surefire beautifully run both junit4 and junit test classes
>>
>> with  3.0-M6-SNAPSHOT,  surefire ignores all junit 5 test class
>>
>> [INFO] --- maven-surefire-plugin:3.0.0-M6-SNAPSHOT:test (default-test) @
>> xxxt ---
>> [INFO] Surefire report directory:
>> C:\x\ppdm\y\z\xxx\target\surefire-reports
>> [INFO] Using auto detected provider
>> org.apache.maven.surefire.junit4.JUnit4Provider
>> [INFO]
>> [INFO] -------------------------------------------------------
>> [INFO]  T E S T S
>> [INFO] -------------------------------------------------------
>> [INFO]
>> [INFO] Results:
>> [INFO]
>> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>> [INFO]
>>
>> is it a known issue?
>>
>> thanks
>>
>> -D
>>
>

Re: Quick test at maven-surefire-3.0-M6-SNAPSHOT

Posted by Dan Tran <da...@gmail.com>.
From the console log,  looks like junit4 provider got picked up first and
lock-in?

-D

On Mon, Mar 7, 2022 at 9:56 PM Dan Tran <da...@gmail.com> wrote:

>
> Hi
>
> My surefire 3.0.0-M4 classpath contains both junit4 and junit5 providers,
> and surefire beautifully run both junit4 and junit test classes
>
> with  3.0-M6-SNAPSHOT,  surefire ignores all junit 5 test class
>
> [INFO] --- maven-surefire-plugin:3.0.0-M6-SNAPSHOT:test (default-test) @
> xxxt ---
> [INFO] Surefire report directory: C:\x\ppdm\y\z\xxx\target\surefire-reports
> [INFO] Using auto detected provider
> org.apache.maven.surefire.junit4.JUnit4Provider
> [INFO]
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO]
> [INFO] Results:
> [INFO]
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO]
>
> is it a known issue?
>
> thanks
>
> -D
>