From dc5613c15b1b414fefadd66912ebf8ff3a5eef9d Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Fri, 17 Apr 2020 20:13:01 +0200 Subject: tests: fix setup of phpcsand phpunit --- Makefile | 2 +- phpcs.xml | 1 + phpunit.xml | 2 +- 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 @@ index.php app + tests app/view/templates/*\.php$ diff --git a/phpunit.xml b/phpunit.xml index d13e9bf..7c403b4 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,6 +1,6 @@ -- cgit v1.2.3