Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How to avoid compilation of test bundles

On 08/19/2016 10:31 AM, Tonny Madsen wrote:
So... the question is whether there are any sane way to avoid this re-compilation? As we want all the dependency handling of Tycho, we cannot just make a new packaging type.
If I understand correctly, you want to run tests against an eclipse-repository artifact right? If so, it was part of the story of https://bugs.eclipse.org/bugs/show_bug.cgi?id=388909 (that you can reopen if it fits your use-case). Implementing this might be the most elegant way to achieve your use-case.

A workaround would be that you create a dummy eclipse-test-plugin artifact but configure tycho-surefire-plugin to actually run test from another bundle (setting the testSuite and testClass parameter), so you can take advantage of dependency resolution but get a minimal overhead with about nothing to recompile.

HTH
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top