Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] specifying test framework symbolic name?

Test mojo expects org.junit or org.junit4 test framework bundle symbolic name and fails the build if it can't find such bundle among project dependencies.
-- 
Sent from my SGS

"Oberlies, Tobias" <tobias.oberlies@xxxxxxx> wrote:

>AFAIK, the test framework is taken from the target platform of your
>build. So if you have only your wrapped JUnit bundle in the target
>platform, the test runtime should use that one without the need for any
>further configuration.
>
>Regards
>Tobias
>
>
>From: tycho-user-bounces@xxxxxxxxxxx
>[mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Matthew O'Connor
>Sent: Dienstag, 10. Januar 2012 06:09
>To: Tycho user list
>Subject: Re: [tycho-user] specifying test framework symbolic name?
>
>Is configuring that something you would consider or is it too tightly
>integrated into everything else that it's not worth it?
>On Mon, Jan 9, 2012 at 7:36 PM, Igor Fedorenko
><igor@xxxxxxxxxxxxxx<mailto:igor@xxxxxxxxxxxxxx>> wrote:
>No, test framework bundle symbolic name is not configurable.
>
>--
>Regards,
>Igor
>
>
>On 12-01-09 5:30 PM, Matthew O'Connor wrote:
>Hello,
>
>I want to be to specify the test framework's symbolic name (instead of
>having it hardcoded to "org.junit" or "org.junit4"). This is because
>"junit:junit" on Maven Central doesn't have bundle information in the
>manifest and so I'm wrapping it with "maven-bundle-plugin". This gives
>me more control over which version of JUnit I'm using - instead of just
>grabbing whatever version happens to be bundled with Eclipse.
>
>Is there a way to do this? org.eclipse.tycho.surefire.TestFramework
>doesn't seem to allow it.
>
>Thanks,
>Matt
>
>_______________________________________________
>tycho-user mailing list
>tycho-user@xxxxxxxxxxx<mailto:tycho-user@xxxxxxxxxxx>
>https://dev.eclipse.org/mailman/listinfo/tycho-user
>_______________________________________________
>tycho-user mailing list
>tycho-user@xxxxxxxxxxx<mailto:tycho-user@xxxxxxxxxxx>
>https://dev.eclipse.org/mailman/listinfo/tycho-user
>
>_______________________________________________
>tycho-user mailing list
>tycho-user@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top