Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Is it possible to add mockito as a maven dependency to a test plugin?

In order to use Mockito I also had to explicitly add the following features to my target platform (they are also provided by the Orbit update site):

  • Objenesis
  • Byte Buddy
  • opentest4j

Make sure you have them in your environment if you face unexpected expections (e.g. NoClassDefFoundError) at runtime.

Le 16/08/2019 à 11:58, Mickael Istria a écrit :
Usenthe Orbit p2 repo to get those artifacts in a p2/Tycho-friendly way: https://download.eclipse.org/tools/orbit/downloads/drops/R20190602212107/repository

On Thursday, August 15, 2019, Steinar Bang <sb@xxxxxx> wrote:
> Is it possible to add mockito and hamcrest as maven dependencies to a
> test plugin project built with tycho[1]?
>
> If it is possible: Is it hard to do?
>
> Thanks!
>
>
> - Steinar
>
> References:
> [1] <https://www.vogella.com/tutorials/EclipseTycho/article.html#exercise-tycho-build-for-test-plug-ins>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/tycho-user
>

--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tycho-user

Back to the top