lundi 29 février 2016

Skip host plugin activation with Tycho Surefire

I have a plugin project and a test fragment for it. Product is built using Tycho. My classes under tests are completely mocked. When I run tests I can see the host plugin is being activated (I have a start server logic in the start() method). I don't need to activate the host plugin and thus start the server when running unit tests.

Is this possible to run Tycho tests without starting the entire OSGI environment?

Aucun commentaire:

Enregistrer un commentaire