Skip to content

Instantly share code, notes, and snippets.

@up1
Last active August 29, 2015 14:18
Show Gist options
  • Save up1/7f90a5b1b1c7df11ef84 to your computer and use it in GitHub Desktop.
Save up1/7f90a5b1b1c7df11ef84 to your computer and use it in GitHub Desktop.
Demo :: PHP + CI
{
"require-dev": {
"phpunit/phpunit": "4.1.*"
},
"autoload": {
"classmap": ["web/"]
}
}
<phpunit colors="true">
<testsuites>
<testsuite name="UnitTest">
<directory>test</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory>./vendor</directory>
</blacklist>
</filter>
<logging>
<log type="junit" target="results/phpunit/phpunit.xml" logIncompleteSkipped="false"/>
<log type="coverage-clover" target="results/clover.xml"/>
<log type="coverage-html" target="./results" charset="UTF-8"
yui="true" highlight="false"
lowUpperBound="35" highLowerBound="70"/>
</logging>
</phpunit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment