diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | phpcs.xml | 1 | ||||
-rw-r--r-- | phpunit.xml | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -168,7 +168,7 @@ lint: $(phpcs_dir) # Test php code with phpunit. .PHONY: test test: $(phpunit_dir) - phpunit + phpunit --log-junit $(phpunit_dir)/junit.xml # Create dirs if the do not exist $(dirs): @@ -7,6 +7,7 @@ <!-- included files --> <file>index.php</file> <file>app</file> + <file>tests</file> <exclude-pattern>app/view/templates/*\.php$</exclude-pattern> <!-- Add some default command line args (see help) --> diff --git a/phpunit.xml b/phpunit.xml index d13e9bf..7c403b4 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.3/phpunit.xsd" + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd" bootstrap="vendor/autoload.php" cacheResultFile="build/phpunit/result.cache" colors="true"> |