Add the code coverage to phpunit. Need to be launch with phpunit --coverage-text or phpunit --coverage-html=/tmp/cover
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1510 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
12
phpunit.xml
12
phpunit.xml
@@ -8,7 +8,7 @@
|
|||||||
convertWarningsToExceptions="true"
|
convertWarningsToExceptions="true"
|
||||||
processIsolation="false"
|
processIsolation="false"
|
||||||
stopOnFailure="false"
|
stopOnFailure="false"
|
||||||
syntaxCheck="false"
|
syntaxCheck="true"
|
||||||
bootstrap="Tests/autoload.php.dist"
|
bootstrap="Tests/autoload.php.dist"
|
||||||
>
|
>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
@@ -16,4 +16,14 @@
|
|||||||
<directory>Tests</directory>
|
<directory>Tests</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
<filter>
|
||||||
|
<whitelist>
|
||||||
|
<directory suffix=".php">.</directory>
|
||||||
|
<exclude>
|
||||||
|
<directory>./Tests</directory>
|
||||||
|
<directory>./test</directory>
|
||||||
|
<directory>./examples</directory>
|
||||||
|
</exclude>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|||||||
Reference in New Issue
Block a user