]> git.mxchange.org Git - friendica.git/commit
Added simple wrapper script to run PHPUnit tests for you. To use this, you need
authorRoland Häder <roland@mxchange.org>
Tue, 21 Jun 2022 11:45:13 +0000 (13:45 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 21 Jun 2022 11:47:40 +0000 (13:47 +0200)
commit5e57ad4d44306050f7a0641f2bc6625fd10115ab
tree46895c1090ad640beeda95db214c9aaf8093b897
parent5fe428d3e4dc7e9745897e00838490a97286c042
Added simple wrapper script to run PHPUnit tests for you. To use this, you need
to set at least 4 variables in your ~/.bashrc (recommended):

export FRIENDICA_MYSQL_HOST="localhost"
export FRIENDICA_MYSQL_DATABASE="friendica_test"
export FRIENDICA_MYSQL_USER="friendica_test"
export FRIENDICA_MYSQL_PASSWWORD="friendica_test"

Then you can put ./bin/dev/run_tests.sh into your .git/hooks/pre-commit file
bin/dev/run_tests.sh [new file with mode: 0755]