Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to run JUnit Plug-in Test via Ant outside Eclipse
How to run JUnit Plug-in Test via Ant outside Eclipse [message #677314] Wed, 08 June 2011 02:54 Go to next message
Christian Guenther is currently offline Christian Guenther
Messages: 2
Registered: June 2011
Junior Member
Hi!

I need to run my JUnit Plug-in Test via Ant outside Eclipse. Inside Eclipse the Test runner is JUnit4 and it's started as 'Run an application: [No Application] - Headless Mode'.
The launch config of the test starts an OSGi Server (my Plug-in Bundles), executes the test and shutdown the OSGi Server. I couldn't find any Ant XML-Code to run a Plug-in test in Headless Mode Sad

Big Thanks for Help!
Re: How to run JUnit Plug-in Test via Ant outside Eclipse [message #677709 is a reply to message #677314] Thu, 09 June 2011 04:21 Go to previous message
Martin Skorsky is currently offline Martin Skorsky
Messages: 112
Registered: July 2009
Senior Member
May be these links can help:
http://www.eclipse.org/articles/Article-PDE-Automation/automation.html
and
http://www.eclipse.org/articles/printable.php?file=Article-PDEJUnitAntAutomation/index.html

Previous Topic:chmod touchpoint failed with @artifact not substituted in Helios
Next Topic:Debug configuration for non java nature project
Goto Forum:
  


Current Time: Thu Aug 28 23:43:25 EDT 2014

Powered by FUDForum. Page generated in 0.01988 seconds