aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--phpcs.xml1
-rw-r--r--phpunit.xml2
3 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 36faed3..816f019 100644
--- a/Makefile
+++ b/Makefile
@@ -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):
diff --git a/phpcs.xml b/phpcs.xml
index e25e4a4..74932eb 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -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">