1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/run_tests.sh
2017-06-08 21:54:32 +01:00

17 lines
973 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 --filter testDuplicateTitle tests/Controller/FoldersControllerTest.php --bootstrap vendor/autoload.php tests/Controller/
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/