Skip to content

Instantly share code, notes, and snippets.

@avandrevitor
Last active April 24, 2018 10:35
Show Gist options
  • Save avandrevitor/ded07cf01f650c17bcf1 to your computer and use it in GitHub Desktop.
Save avandrevitor/ded07cf01f650c17bcf1 to your computer and use it in GitHub Desktop.
My PHPUnit Default
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/5.7/phpunit.xsd"
backupGlobals="true"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
cacheTokens="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
mapTestClassNameToCoveredClassName="false"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
timeoutForSmallTests="1"
timeoutForMediumTests="10"
timeoutForLargeTests="60"
verbose="false">
<testsuites>
<testsuite name="PHPUnit">
<directory suffix="Test.php" phpVersion="5.6" phpVersionOperator=">=">tests/unit/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>src/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="web/build/phpunit/report" lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="web/build/phpunit/coverage.xml" />
<log type="coverage-xml" target="web/build/phpunit/coverage"/>
<log type="junit" target="web/build/phpunit/junit.xml" logIncompleteSkipped="false"/>
<log type="testdox-html" target="web/build/phpunit/testdox.html"/>
<log type="testdox-text" target="web/build/phpunit/testdox.txt"/>
</logging>
</phpunit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment