found this matched JIRA https://issues.apache.org/jira/browse/SUREFIRE-2033

-D

On Mon, Mar 7, 2022 at 10:39 PM Dan Tran <dant...@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 <dant...@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
>>
>

Reply via email to