Hi Franz,

Thanks for you quick reply.

For one thing, -Dtest only runs one singular test. What I want though is to
run that specified test, then have it execute the rest of the tests.

It would also be desirable if I could specify this in the pom rather than in
command line/runtime.


franz see wrote:
> 
> 
> Tony Truong wrote:
>> 
>> To all,
>> 
>> I need to run a specific JWebunit test before the other tests, since this
>> JWebunit test sets up the web app environment. How would I be able to do
>> this with the surefire plugin?
>> 
>> Tony.
>> 
> 
> Good day to you, Tony,
> 
> add -Dtest=[test class name] to your mvn command.
> 
> Cheers, 
> Franz
> 

-- 
View this message in context: 
http://www.nabble.com/-m2--Executing-a-Test-First-tf2101214.html#a5791217
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to