groovy - Running tests in parallel using TestNG and gradle -


i trying run testng tests in parallel seem running single-threaded. trying run them using intellij 14.1.4 community edition default built in gradle wrapper , java 1.8.0_45.

i've tried using standalone gradle-2.5.

the test section of current build.gradle file looks like:

test {     systemproperties system.getproperties()     usetestng() {         parallel 'tests'         threadcount 3     } } 

i've tried:

test {     systemproperties system.getproperties()     usetestng {         options {             parallel = 'tests'             threadcount = 3         }     } } 

and:

test {     systemproperties system.getproperties()     usetestng {         options ->             options.parallel = 'tests'             options.threadcount = 3     } } 

it depends on testng.xml have made.

refer below link:-

http://howtodoinjava.com/2014/12/02/testng-executing-parallel-tests/

http://testng.org/doc/documentation-main.html#parallel-tests


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -