Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[PHPUnit] exclude templates/ directories from the code coverage gener…

…ation. When running PHPUnit with the --coverage-clover switch, the tests suite fails has PHPUnit tries to generate the coverage for a PHP template file.
  • Loading branch information...
commit 81e514401aef9222348b43d929943c853639b0e6 1 parent f80de11
@hhamon hhamon authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  phpunit.xml.dist
View
3  phpunit.xml.dist
@@ -21,6 +21,9 @@
<filter>
<whitelist>
<directory>./src/Propel/</directory>
+ <exclude>
+ <directory>./src/Propel/Generator/Behavior/*/templates/</directory>
+ </exclude>
</whitelist>
</filter>
</phpunit>
Please sign in to comment.
Something went wrong with that request. Please try again.