PHPUnit now creates coverage...required for codeclimate

This commit is contained in:
Raphael Zimmermann 2015-03-16 16:56:14 +01:00
parent da1899fd7d
commit dd249db901
2 changed files with 21 additions and 16 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/vendor/ /vendor/
/cache/ /cache/
/blacklist/ /blacklist/
/build/

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false" <phpunit
backupGlobals="false"
backupStaticAttributes="false" backupStaticAttributes="false"
colors="true" colors="true"
convertErrorsToExceptions="true" convertErrorsToExceptions="true"
@ -8,11 +9,14 @@
convertWarningsToExceptions="true" convertWarningsToExceptions="true"
processIsolation="false" processIsolation="false"
stopOnFailure="false" stopOnFailure="false"
syntaxCheck="false" syntaxCheck="true"
bootstrap="./vendor/autoload.php" bootstrap="./vendor/autoload.php"
> >
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
<testsuites> <testsuites>
<testsuite name="tests"> <testsuite name="all">
<directory>tests</directory> <directory>tests</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>