How is testRuntime p2Installed of tycho surefire supposed to be used? #2357
-
Hi, what i want to achieve:
what i've tried:
But as soon as i run the build with
com.godyo.p5.externlib.oracle is listed as module in the "Reactor Build Order" So i don't come to the point where test execution would take place ... Is this basically the correct setup and usage for my usecase? Thanks for any hints on this! Bye Peter |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@phermsdorf can you provide a small reproducer product? from the snippet it is not completely clear how do you try to use Tycho, e.g. in the log output I see If you want to run the product, then you could use the eclipse-run plugin, but it seems you actually want a mixture of unit-test and running a product... |
Beta Was this translation helpful? Give feedback.
-
Thanks @mickaelistria for clarifying this. Thank you! |
Beta Was this translation helpful? Give feedback.
p2Installed
will make tycho-surefire-plugin provision a full RCP application/product to run the tests, instead of using a minimal one from the target-platform as it does usually (which is still better in most cases though). The use-case is more for RCP product producers who do not care about other installations that their own product.However, it's purely for tests, compilation and other are not affected. The right way to control what is used for dependency resolution and compilation would be to define the target platform.