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
Post a Comment