Kurt Russell
Kurt Russell

Reputation: 235

How can I sart at the same time more than one (many) cucumber test(s)?

I want to sart at the same time more than one cucumber test with the help of watir-webdriver. How can I get(start) it? Is it possible?

Upvotes: 0

Views: 200

Answers (1)

Željko Filipin
Željko Filipin

Reputation: 57262

You can use parallel_tests gem. I have some example code at watir-parallel.

By default parallel_tests gem uses the number of available CPUs to determine how many processes to run in parallel:

-n [PROCESSES] How many processes to use, default: available CPUs

If for some reason for you the number is 1, you can explicitly set that option to another number, for example:

parallel_cucumber features/ -n 2

Upvotes: 1

Related Questions