From 633f3b728f9600701295401d936c9bc83f424b3a Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 23 Oct 2017 12:54:54 +0200 Subject: [PATCH] Created composer command to generate merge pretty code coverage --- composer.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c98fc6d6..39c59f47 100644 --- a/composer.json +++ b/composer.json @@ -91,7 +91,12 @@ "serve": "php -S 0.0.0.0:8000 -t public/", "test": "phpunit --coverage-php build/coverage-unit.cov", "pretty-test": "phpunit --coverage-html build/coverage", - "func-test": "phpunit -c phpunit-func.xml --coverage-php build/coverage-func.cov" + "func-test": "phpunit -c phpunit-func.xml --coverage-php build/coverage-func.cov", + "complete-pretty-test": [ + "@test", + "@func-test", + "phpcov merge build --html build/html" + ] }, "config": { "process-timeout": 0,