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, 2009 at 8:19 AM, nani2ratna <nani2ra...@gmail.com> wrote:
>>
>> 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
>>>> 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 look
>>> at the Maven documentation to start figuring out Maven.
>>>
>>> Dave
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Unit-Test-with-Struts2-%2B-Spring-%2B-Maven-tp22352989p22367369.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Unit-Test-with-Struts2-%2B-Spring-%2B-Maven-tp22352989p22391142.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to