1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-04-17 11:26:26 +02:00
joplin/run_tests.sh
2017-06-05 00:29:07 +01:00

16 lines
824 B
Bash
Executable File

#!/bin/bash
# Example to test just one method of a test unit:
# php phpunit-5.7.20.phar --filter testConflict ChangeTest tests/Model/ChangeTest.php --bootstrap vendor/autoload.php tests/Model/
echo '============================================================================================='
echo 'Testing controllers....'
echo '============================================================================================='
php5.6 phpunit-5.7.20.phar --bootstrap vendor/autoload.php tests/Controller/
# echo ""
# echo '============================================================================================='
# echo 'Testing models....'
# echo '============================================================================================='
# php5.6 phpunit-5.7.20.phar --bootstrap vendor/autoload.php tests/Model/