woocommerce/plugins/woocommerce-blocks/tests/bin/phpunit.sh

9 lines
211 B
Bash
Executable File

#!/usr/bin/env bash
WORKING_DIR="$PWD"
cd "$WP_CORE_DIR/wp-content/plugins/woocommerce-gutenberg-products-block/"
phpunit --version
phpunit -c phpunit.xml.dist
TEST_RESULT=$?
cd "$WORKING_DIR"
exit $TEST_RESULT