diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-03-07 16:31:17 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-03-07 16:31:17 +0300 |
commit | f876e480f7210d22395b4c9e0a7755e69c43256f (patch) | |
tree | d49f904f13d114d279f6798131624b35dd56de53 /tests | |
parent | b53267b52eda714c9d25e320a128e0d39f20ba2b (diff) |
Actually generage coverage to process on scrutinizer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/phpunit.xml | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/tests/phpunit.xml b/tests/phpunit.xml index 78154ef..61c010c 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -1,12 +1,24 @@ <?xml version="1.0" encoding="utf-8" ?> <phpunit bootstrap="bootstrap.php" - verbose="true" - timeoutForSmallTests="900" - timeoutForMediumTests="900" - timeoutForLargeTests="900" - > + verbose="true" + timeoutForSmallTests="900" + timeoutForMediumTests="900" + timeoutForLargeTests="900"> <testsuite name="U2F app tests"> <directory suffix="Test.php">.</directory> - </testsuite> + </testsuite><!-- filters for code coverage --> + <filter> + <whitelist> + <directory suffix=".php">../</directory> + <exclude> + <directory suffix=".php">../l10n</directory> + <directory suffix=".php">../tests</directory> + </exclude> + </whitelist> + </filter> + <logging> + <!-- and this is where your report will be written --> + <log type="coverage-clover" target="./clover.xml"/> + </logging> </phpunit> |