Re: Unit Test with Struts2 + Spring + Maven

2009-03-07 Thread dusty
mvn -Dtest=MyTestClassName But don't let that think you can get Maven answers here! ;-) Nils-Helge Garli wrote: > > As both Martin and Dave pointed out, this is a maven related question. > Please check here: http://maven.apache.org/users/getting-help.html > > Nils-H > > On Fri, Mar 6, 200

Re: Unit Test with Struts2 + Spring + Maven

2009-03-05 Thread Nils-Helge Garli Hegvik
As both Martin and Dave pointed out, this is a maven related question. Please check here: http://maven.apache.org/users/getting-help.html Nils-H On Fri, Mar 6, 2009 at 8:19 AM, nani2ratna wrote: > > Can i run a particular test case. > Instead of running every test case all the time i just want t

Re: Unit Test with Struts2 + Spring + Maven

2009-03-05 Thread nani2ratna
Can i run a particular test case. Instead of running every test case all the time i just want to run only one test case. Thanks and Regards Ratna newton.dave wrote: > > nani2ratna wrote: >> I am just giving mvn test, it running the 2 tests in the >> srs/main/test/../HelloworldActionTest.java >

Re: Unit Test with Struts2 + Spring + Maven

2009-03-05 Thread Dave Newton
nani2ratna wrote: I am just giving mvn test, it running the 2 tests in the srs/main/test/../HelloworldActionTest.java and another test class. But how, from where its getting called. Please explain me how its calling those tests. Maven's surefire plugin will run tests--as Martin said you should

RE: Unit Test with Struts2 + Spring + Maven

2009-03-05 Thread nani2ratna
Hi this is my pom.xml. 4.0.0 TutorialFromTextbook TutorialFromTextbook war 0.0.1-SNAPSHOT Struts 2 Starter http://www.myComp.com Struts 2 Starter junit

RE: Unit Test with Struts2 + Spring + Maven

2009-03-05 Thread Martin Gainty
this is a maven question (which you should post to maven users group) maven-users as will I request the pom.xml which contains the details of execution of Unit-test goals show us your pom.xml so we can be of further assistance Martin __ Disclaimer a