wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes running a signle junit method in maven Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "running a signle junit method in maven" Watch "running a signle junit method in maven" New topic
Author

running a signle junit method in maven

Praveen Seluka
Ranch Hand

Joined: Jul 17, 2007
Posts: 95
Hi all

mvn -Dtest=<classname>test.java test
this will run the junit test case for all the methods in that test java file.
I want to restrict it to only certain methods.
Can we specify run this method in this junit test class.

please help

Praveen SP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: running a signle junit method in maven