Example on how to run the same cucumber scenario in several browsers, in parallel.
You need both Ruby and Bundler (https://bundler.io/) installed to run this project.
bundle install
The sample scenario is simple: open Google page and check that its title is indeed Google
.
Only Chrome will get executed:
bundle exec cucumber
In this example, the test suite is executed 2 times, one with Chrome and one with Firefox, which both run in parallel:
parallel_test -n 2 -e 'bundle exec cucumber --format progress'
Note: --format progress
prevents the output from being mixed up when having several scenarios