-
Notifications
You must be signed in to change notification settings - Fork 22
Running the tests
james-goddard-magentys edited this page Jun 29, 2017
·
7 revisions
The tests can be built with the following maven command
mvn clean install -DbrowserProfile=chrome -Denv=myEnv -Dcucumber.options="--tags @myTag"
Where:
-DbrowserProfile
is the browser profile you want to run the tests with
-Denv
is the name of the environment profile defined in env.conf
-Dcucumber.options
allows you to specify tags you want to be included in the run using "--tags @myTag"
-
-DhubUrl
: Specifies the remote grid url and will instantiate a remote webdriver based on the browserProfile capabilties -
-DwebDriverConfig
: When external webdriver configuration is injected to the project this should give the path to this file -
-Pparallel
: Runs the tests in multiple sessions in parallel