Skip to content
andrewleo edited this page Nov 2, 2013 · 3 revisions

Parallel mode is indeed TestNG's feature, so modify demo.xml as follow:

Parallel Mode

  • parallel="tests" means enable parallel mode in the unit of <test>, such as: TestNg and TestNgClone.
  • thread-count="10" means use 10 threads to run testcases.

Good to know:

Parallel mode is limited by cpu's power, the more cores, the higher speed.