Skip to content

Commit

Permalink
Merge pull request #159 from loic425/features/test-behat-with-javascr…
Browse files Browse the repository at this point in the history
…ipt-makefile

Add test-behat-with-javascript command on makefile
  • Loading branch information
loic425 committed Mar 19, 2019
2 parents 3c44277 + 122f144 commit d73a332
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
TAGS?=~todo
CHROMEDRIVER_PATH=../chromedriver

build-docs:
cd docs && sphinx-build -b html . build -a
Expand All @@ -18,6 +19,11 @@ test-behat:
test-behat-without-javascript:
APP_ENV=test vendor/bin/behat --tags=~javascript --tags=${TAGS}

test-behat-with-javascript:
vendor/bin/selenium-server-standalone -Dwebdriver.chrome.driver=${CHROMEDRIVER_PATH} > /dev/null 2>&1 &
sleep 5
APP_ENV=test vendor/bin/behat --tags=javascript --tags=${TAGS}

test-behat-with-cli:
APP_ENV=test vendor/bin/behat --tags=cli --tags=${TAGS}

Expand Down

0 comments on commit d73a332

Please sign in to comment.