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: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to