Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] JUnit 5 and parallel mode

Arnaud Yahoo <a_mergey@xxxxxxxx> writes:

> Using tycho 1.3.0, build of a test project fails with following error:
>
> /Provider org.eclipse.tycho.surefire.provider.impl.JUnit5Provider does
> not support parallel
> mode. org.eclipse.tycho.surefire.provider.impl.JUnit47Provider
> (i.e. JUnit >= 4.7) is required for this./

You're right, ProviderHelper checks this [1] with

    !JUnit47Provider.class.equals(provider.getClass())

> The error seems wrong because junit 5 is > to junit 4.7 so parallel
> mode should be working with junit 5.

Yes, could you file a bug?

[1] tycho-surefire/tycho-surefire-plugin/src/main/java/org/eclipse/tycho/surefire/provider/impl/ProviderHelper.java, line 74.

-- 
Mykola

Libre/Free Java Software Developer
https://manandbytes.gitlab.io/


Back to the top