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