Browse Source

Add composer script to run phpunit with coverage report.

ADmad 9 years ago
parent
commit
98b70d172a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      composer.json

+ 2 - 1
composer.json

@@ -78,6 +78,7 @@
         ],
         "cs-check": "phpcs --colors -p ./src ./tests",
         "cs-fix": "phpcbf --colors ./src ./tests",
-        "test": "phpunit --colors=always"
+        "test": "phpunit --colors=always",
+        "test-coverage": "phpunit --colors=always --coverage-clover=clover.xml"
     }
 }