You are here

run-phpunit.sh in Support Ticketing System 8

#!/bin/bash
# @file
# Simple script to run the unit tests.

set -e

export CORE_DIR=$(drush drupal-directory)
export MODULE_DIR=$(cd $(dirname $0); cd ..; pwd)

(cd $CORE_DIR/core; ./vendor/bin/phpunit $MODULE_DIR/tests/src )

File

tests/run-phpunit.sh
View source
  1. #!/bin/bash
  2. # @file
  3. # Simple script to run the unit tests.
  4. set -e
  5. export CORE_DIR=$(drush drupal-directory)
  6. export MODULE_DIR=$(cd $(dirname $0); cd ..; pwd)
  7. (cd $CORE_DIR/core; ./vendor/bin/phpunit $MODULE_DIR/tests/src )