Skip to content

Instantly share code, notes, and snippets.

@yusufhm
Last active September 25, 2019 01:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yusufhm/46919377a02193f3b409d6420dc457f2 to your computer and use it in GitHub Desktop.
Save yusufhm/46919377a02193f3b409d6420dc457f2 to your computer and use it in GitHub Desktop.
drupal testing
# PHPUnit testing.
# Set `BROWSERTEST_OUTPUT_DIRECTORY` so we get the browser output.
(export BROWSERTEST_OUTPUT_DIRECTORY=$(pwd)/docroot/sites/simpletest/browser_output; blt tests:phpunit:run -vvv)
# Behat testing.
(export BUILDKITE_BUILD_CHECKOUT_PATH=$(pwd); blt tests:behat:run --environment=ci --no-interaction --yes --ansi --define drush.alias='${drush.aliases.ci}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment