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/
|
||||||
|
|
12
phpunit.xml
12
phpunit.xml
|
@ -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>
|
||||||
|
|
Reference in a new issue