mirror of
https://github.com/brunofontes/Memsource-API.git
synced 2024-11-23 19:00:50 +00:00
test: adding phpUnit
This commit is contained in:
parent
adfea614ad
commit
a22f23cc10
3
Makefile
3
Makefile
@ -8,3 +8,6 @@ install:
|
|||||||
uninstall:
|
uninstall:
|
||||||
rm -f ./.git/hooks/pre-push
|
rm -f ./.git/hooks/pre-push
|
||||||
if [ -d "./vendor/phpunit" ] ; then composer remove --dev phpunit/phpunit; fi
|
if [ -d "./vendor/phpunit" ] ; then composer remove --dev phpunit/phpunit; fi
|
||||||
|
|
||||||
|
check:
|
||||||
|
gaze '{src,tests}/**/*.php' -c "./vendor/phpunit/phpunit/phpunit --bootstrap vendor/autoload.php tests --testdox --color"
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
"name": "brunofontes/memsource-api",
|
"name": "brunofontes/memsource-api",
|
||||||
"description": "A personal memsource api to better understand how it works",
|
"description": "A personal memsource api to better understand how it works",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
|
"version": "1.2",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Bruno F. Fontes",
|
"name": "Bruno F. Fontes",
|
||||||
@ -22,5 +23,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user