Skip to content

Instantly share code, notes, and snippets.

@eniuz
Created March 24, 2015 13:21
Show Gist options
  • Save eniuz/554e8142b418c89b1135 to your computer and use it in GitHub Desktop.
Save eniuz/554e8142b418c89b1135 to your computer and use it in GitHub Desktop.
run behat features in parallel
# http://zalas.eu/running-behat-in-parallel-with-selenium-grid/
find features/ -iname '*.feature' | parallel --gnu 'bin/behat {}' || exit 1
java -jar selenium-server-standalone.jar -role node -hub http://localhost:4444/grid/register
# behat.yml
default:
extensions:
Behat\MinkExtension\Extension:
base_url: 'http://localhost/'
browser_name: phantomjs
selenium2:
wd_host: http://127.0.0.1:4444/wd/hub
capabilities:
version: ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment