I'm planning to use DevTest in the Integration-test phase of Maven.
Anybody went this direction before ?
Is there a DevTest plugin for Maven to help that integration by any chance ?
For longtime, I have also been trying to find the solution for the same! But, couldn't find a relative one! I recently raised an idea - Maven archetype for creating custom extensions which doesn't exactly relates to your requirement, but it generally talks about the need for Mavenising the DevtTest libraries.
As a workaround for your requirement you can add the DevTest libraries (JAR Files) that resides in your local directory to your POM.xml using the method specified in the link - http://stackoverflow.com/questions/4955635/how-to-add-local-jar-files-in-maven-project.
Please let us know if you are looking for a different approach!
is there a way to launch/stage a test from a commandline/api? one would have to write maven goals that used that capability to execute the test from maven (as well as having the DT jar files to support that capability)
Possibly yes! We can make use of maven-exec-plugin to hook a batch/ CL runnable file. So, here are the steps,
Yes I was thinking on those lines (calling TestRunner from Maven Integration-tests phase) with the exec-plugin or even write a custom plugin to have more control over the cmd line parameters
cool.. I am thinking about using the maven exec approach to building goals for managing services (add, start, stop, status, remove, stage)..