Skip to content

Commit

Permalink
Telling phpunit what files to parse for coverage and where to store t…
Browse files Browse the repository at this point in the history
…he coverage report as well as the coverage report format
  • Loading branch information
yani- committed Nov 10, 2013
1 parent 9a8b8ae commit 11642ff
Showing 1 changed file with 26 additions and 11 deletions.
37 changes: 26 additions & 11 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite>
<directory prefix="test-" suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite>
<directory prefix="test-" suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">lib/</directory>
</whitelist>
</filter>
<logging>
<log
type="coverage-html"
target="coverage"
charset="UTF-8"
highlight="false"
lowUpperBound="35"
highLowerBound="70"
/>
</logging>
</phpunit>

0 comments on commit 11642ff

Please sign in to comment.