|Re: [tycho-user] Is there a way to have src/ and test/ in the same eclipse plug-in?|
On 01/17/2014 04:39 PM, Jeremie Bresson wrote:
Tycho-surefire-plugin uses the output jarred plugin directly in the test runtime, so tests have to be in this jarred plugin (or another plugin if you set testSuite/testClass parameters) and that there is no way to find tests that are in a folder somewhere on filesystem (OSGi/Eclipse wants bundles).
You might have difficulties to find that. Just ask yourself "is it worth it?". IMHO, the answer is that the approach used by Eclipse (test in a dedicated plugin or fragment) works fine and is actually a good practice when it comes to run tests on existing applications, out of the build. So most people probably stick with the Eclipse way, which happens to work fine.
Back to the top