mirror of
https://github.com/brunofontes/Memsource-API.git
synced 2024-11-23 19:00:50 +00:00
12 lines
318 B
Bash
Executable File
12 lines
318 B
Bash
Executable File
params="--bootstrap vendor/autoload.php tests --testdox --color"
|
|
|
|
if [ $(command -v phpunit) ]; then
|
|
phpunit $params
|
|
else
|
|
if [ -d ./vendor/phpunit ]; then
|
|
./vendor/phpunit/phpunit/phpunit $params
|
|
else
|
|
echo "Please, run 'make install' or install phpunit globally to run the tests"
|
|
fi
|
|
fi
|