diff --git a/.gitignore b/.gitignore index f002e5c..5c1c961 100644 --- a/.gitignore +++ b/.gitignore @@ -187,4 +187,6 @@ FakesAssemblies/ composer.lock # .vs -.vs/ \ No newline at end of file +.vs/ + +.phpunit.result.cache diff --git a/composer.json b/composer.json index 20bcd21..e4bde51 100644 --- a/composer.json +++ b/composer.json @@ -36,5 +36,10 @@ "psr-4": { "Tests\\": "tests/" } + }, + "scripts": { + "test": [ + "XDEBUG_MODE=coverage phpunit" + ] } } diff --git a/phpunit.xml b/phpunit.xml index 92c3a27..b2ff004 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,4 +1,4 @@ - + ./tests - - + + ./lib - - - \ No newline at end of file + + + + + + +