You are here

php-unit-drupal.sh in Realistic Dummy Content 3.x

#!/bin/bash
#
# Run unit tests a la Drupal. Requires the container to be running.
#
set -e

docker-compose exec -T drupal /bin/bash -c 'drush en -y simpletest && php core/scripts/run-tests.sh realistic_dummy_content'

File

scripts/php-unit-drupal.sh
View source
  1. #!/bin/bash
  2. #
  3. # Run unit tests a la Drupal. Requires the container to be running.
  4. #
  5. set -e
  6. docker-compose exec -T drupal /bin/bash -c 'drush en -y simpletest && php core/scripts/run-tests.sh realistic_dummy_content'