[jbosscache-dev] Maven TestNG rewrite complete for JBoss Cache and POJO Cache

Jason T. Greene jason.greene at redhat.com
Wed Sep 12 19:53:21 EDT 2007


Vladimir Blagojevic wrote:
> Hi,
> 
> I tried new NG testsuite and it works great. One question: can TestNG
> run individual test method in a certain test class from a command line? 
> I guess TestNG plugin for eclipse has this feature?

Unfortunately no, well at least not easily. You could write an ant task 
which generates a custom testng.xml file and embed it in a special maven 
profile,but it would be a pain.  This is essentially what the eclipse 
plugin does. If you think its important we could create a feature 
request for this for both testng and surefire.


> 
> Good stuff Jason.
> 

Thanks!

-Jason



More information about the jbosscache-dev mailing list