You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Douglas Ferguson <do...@douglasferguson.us> on 2010/02/11 01:10:26 UTC

SureFire: "parallel" attribute

Can anybody shed light on this comment?

......

parallel 	

String 	2.2 	(TestNG only) When you use the parallel attribute, TestNG will try to run all your test methods in separate threads, except for methods      that depend on each other, which will be run in the same thread in order to respect their order of execution.

   In JUnit 4.7 the values are classes/methods/both to run in separate threads, as controlled by threadCount.

.....

I have junit test tests and when I set parallel = methods it runs everything synchronously, however when I set parallel = classes, it runs the classes in parallel. I haven't been able to find good documentation for this anywhere.. Does anybody know of any good resources? 

Also, assuming I can get methods to work, does it run all methods in parallel or does it run the methods in parallel by class? i.e. 1 class at a time but all the methods in that class are parallel?

Are there other gotchas or configuration settings I should be considering? I.E. I've read a little bit on ConfigurableParallelComputer but I'm not sure what it's all about..

Douglas Ferguson

mobile: 512.293.7279
office/fax: 512.462.0408
skype: stillrecording
aim:   DaAmericanRuse

-

http://www.linkedin.com/in/douglasferguson
http://www.myspace.com/douglasferguson
http://www.douglasferguson.us/
http://www.distilleryrecords.com/
http://www.stillrecording.com/

Join my mailing list: distilleryrecords-subscribe@yahoogroups.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: SureFire: "parallel" attribute

Posted by Douglas Ferguson <do...@douglasferguson.us>.
Anybody?

On Feb 10, 2010, at 6:10 PM, Douglas Ferguson wrote:

> Can anybody shed light on this comment?
> 
> ......
> 
> parallel 	
> 
> String 	2.2 	(TestNG only) When you use the parallel attribute, TestNG will try to run all your test methods in separate threads, except for methods      that depend on each other, which will be run in the same thread in order to respect their order of execution.
> 
>   In JUnit 4.7 the values are classes/methods/both to run in separate threads, as controlled by threadCount.
> 
> .....
> 
> I have junit test tests and when I set parallel = methods it runs everything synchronously, however when I set parallel = classes, it runs the classes in parallel. I haven't been able to find good documentation for this anywhere.. Does anybody know of any good resources? 
> 
> Also, assuming I can get methods to work, does it run all methods in parallel or does it run the methods in parallel by class? i.e. 1 class at a time but all the methods in that class are parallel?
> 
> Are there other gotchas or configuration settings I should be considering? I.E. I've read a little bit on ConfigurableParallelComputer but I'm not sure what it's all about..
> 
> Douglas Ferguson
> 
> mobile: 512.293.7279
> office/fax: 512.462.0408
> skype: stillrecording
> aim:   DaAmericanRuse
> 
> -
> 
> http://www.linkedin.com/in/douglasferguson
> http://www.myspace.com/douglasferguson
> http://www.douglasferguson.us/
> http://www.distilleryrecords.com/
> http://www.stillrecording.com/
> 
> Join my mailing list: distilleryrecords-subscribe@yahoogroups.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org