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:
14
phpunit.xml
14
phpunit.xml
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit
|
||||
backupGlobals="false"
|
||||
backupGlobals="false"
|
||||
backupStaticAttributes="false"
|
||||
colors="true"
|
||||
convertErrorsToExceptions="true"
|
||||
@@ -8,7 +8,7 @@
|
||||
convertWarningsToExceptions="true"
|
||||
processIsolation="false"
|
||||
stopOnFailure="false"
|
||||
syntaxCheck="false"
|
||||
syntaxCheck="true"
|
||||
bootstrap="Tests/autoload.php.dist"
|
||||
>
|
||||
<testsuites>
|
||||
@@ -16,4 +16,14 @@
|
||||
<directory>Tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory suffix=".php">.</directory>
|
||||
<exclude>
|
||||
<directory>./Tests</directory>
|
||||
<directory>./test</directory>
|
||||
<directory>./examples</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
||||
|
||||
Reference in New Issue
Block a user