[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Tycho + source folder containing tests
|
I just created a small test, adding junit to the "automated
dependecies section" and it works to compile this in PDE and run
this as a plain test. Sadly running the test as a plugin test
fails with bundle.test.AdderTest cannot be found by
bundle.testwith so it seems the "test-source-folder" itself is
only partly supported by PDE.
Am 30.03.21 um 15:49 schrieb Andreas
Sewe:
Mickael Istria wrote:
It would be interesting to let Tycho automatically build a test fragment
from the "test" source folders of the current module and make
tycho-surefire-plugin include it. But it involves tweaking a lot of
things in many mojo. The result would probably be great, but not easy to
reach IMO.
The problem with automatically creating a test fragment is test only
dependencies, i.e., stuff like
Import-Package: org.mockito
That's certainly something you don't want in your (non-test)
MANIFEST.MF, but where would you specify it in a manifest-first build?
(A POM-first build has test-scoped dependencies for this.)
Best wishes,
Andreas
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user