I don't think you actually need an IDE plugin for Pax Exam, at least not
for Eclipse.
This is what works for me:
* Eclipse 3.6.2 + m2eclipse 0.12.1
* or Eclipse 3.7.0 + m2e 1.0
* import your Maven projects into your Eclipse workspace
* add Pax Exam Driver and dependencies to your POMs
* select a Pax Exam test source file in the Project Explorer and fire
"Run as JUnit Test..." from the context menu
This is one of the coolest features of JUnit: By simply adding a
@RunWith annotation for a customized runner, you can change its
behaviour completely without affecting the JUnit API or any existing
integrations like Maven Surefire or Eclipse JUnit support, and this
should also work in NetBeans and IntelliJ, if they did their JUnit
plugins properly ;-)
Is there anything else you were thinking of that would not be covered by
this approach?
For Eclipse PDE users who don't work with Maven, it might be convenient
to offer a p2 repository (aka Eclipse Update Site) with all Pax bundles,
but that's a different story.
Best regards,
Harald
Am 18.08.2011 18:57, schrieb Sanjeeb Sahoo:
Currently I execute my pax-exam based JUnit tests using maven cli and
that's great for automation. I want to know if there is a better
integration with IDE such as Eclipse or IntelliJ. Is there a plugin that
I can add in my IDE which will make it possible to invoke the pax-exam
based JUnit tests using existing IDE's Junit controller?
Thanks,
Sahoo
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general