Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho + source folder containing tests

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

-- 
Dr. Andreas Sewe | sewe@xxxxxxx | +49 152 56342856
CQSE GmbH | Centa-Hafenbraedl-Strasse 59 | 81249 Muenchen | www.cqse.eu
Amtsgericht Muenchen | HRB 177678 | GF: F. Deissenboeck, M. Feilkas

Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top