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:
2014-07-01 11:26:50 +00:00
parent 0b8eede15c
commit 386f490481

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit <phpunit
backupGlobals="false" backupGlobals="false"
backupStaticAttributes="false" backupStaticAttributes="false"
colors="true" colors="true"
convertErrorsToExceptions="true" convertErrorsToExceptions="true"
@@ -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>