Skip to content

Instantly share code, notes, and snippets.

@shanethehat
Created July 28, 2013 08:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanethehat/6097884 to your computer and use it in GitHub Desktop.
Save shanethehat/6097884 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
stopOnFailure="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
bootstrap='vendor/autoload.php'>
<testsuites>
<testsuite name="Inviqa SkypeBot Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory suffix=".php">./vendor</directory>
</blacklist>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="build/coverage" title="Name of Project"
charset="UTF-8" yui="true" highlight="true"
lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
<log type="coverage-text" target="php://stdout" />
</logging>
</phpunit>
@shanethehat
Copy link
Author

Flie is in project root. PHPUnit executable is in bin/. Blacklist is working to exclude the vendors.

@shanethehat
Copy link
Author

PHP_CodeCoverage 1.2.12 using PHP 5.4.6-1ubuntu1.3 and PHPUnit 3.7.22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment