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
; Sender does not endorse distribution to any party other than intended > recipient. Sender does not necessarily endorse content contained within > this transmission. > > > > >> Date: Thu, 5 Mar 2009 06:44:06 -0800 >> From: nani2ra...@gmail.com >> To: user@struts

RE: Unit Test with Struts2 + Spring + Maven

2009-03-05 Thread Martin Gainty
contained within this transmission. > Date: Thu, 5 Mar 2009 06:44:06 -0800 > From: nani2ra...@gmail.com > To: user@struts.apache.org > Subject: Unit Test with Struts2 + Spring + Maven > > > Hi Everybody, > > I just created a struts 2 project from nexus. > It cre

Unit Test with Struts2 + Spring + Maven

2009-03-05 Thread nani2ratna
Hi Everybody, I just created a struts 2 project from nexus. It created a default project with 2 actions. Every thing is working excellent. But i got a doubt how this Unit test is working. I am just giving mvn test, it running the 2 tests in the srs/main/test/../HelloworldActionTest.java and anot