Skip to content

Example on how to run the same cucumber scenario in several browsers, in parallel

Notifications You must be signed in to change notification settings

tonimellodic/parallel-cross-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

parallel-cross-browser

Example on how to run the same cucumber scenario in several browsers, in parallel.

Prerequisites

You need both Ruby and Bundler (https://bundler.io/) installed to run this project.

Install

bundle install

Test execution

The sample scenario is simple: open Google page and check that its title is indeed Google.

One browser

Only Chrome will get executed:

bundle exec cucumber

N browsers in parallel

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

About

Example on how to run the same cucumber scenario in several browsers, in parallel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published