PHPUnit now creates coverage...required for codeclimate
This commit is contained in:
parent
da1899fd7d
commit
dd249db901
2 changed files with 21 additions and 16 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
||||||
/vendor/
|
/vendor/
|
||||||
/cache/
|
/cache/
|
||||||
/blacklist/
|
/blacklist/
|
||||||
|
/build/
|
||||||
|
|
36
phpunit.xml
36
phpunit.xml
|
@ -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>
|
||||||
|
|
Reference in a new issue