Skip to content

Instantly share code, notes, and snippets.

@kalifg
Created June 10, 2013 18:40
Show Gist options
  • Save kalifg/5751132 to your computer and use it in GitHub Desktop.
Save kalifg/5751132 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
backupGlobals = "false"
backupStaticAttributes = "false"
colors = "true"
convertErrorsToExceptions = "true"
convertNoticesToExceptions = "true"
convertWarningsToExceptions = "true"
processIsolation = "false"
stopOnFailure = "false"
syntaxCheck = "true"
bootstrap = "bootstrap.php.cache" >
<testsuites>
<testsuite name="Project Test Suite">
<directory>../src/*/*Bundle/Tests</directory>
<directory>../src/*/Bundle/*Bundle/Tests</directory>
</testsuite>
<testsuite name="ChessBundle">
<directory>../src/*/ChessBundle/Tests</directory>
</testsuite>
<testsuite name="FriendBundle">
<directory>../src/*/FriendBundle/Tests</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>explorer</group>
<group>api</group>
</exclude>
</groups>
<!--
<php>
<server name="KERNEL_DIR" value="/path/to/your/app/" />
</php>
-->
<filter>
<whitelist>
<directory>../src</directory>
<exclude>
<directory>../src/*/*Bundle/Resources</directory>
<directory>../src/*/*Bundle/Tests</directory>
<directory>../src/*/Bundle/*Bundle/Resources</directory>
<directory>../src/*/Bundle/*Bundle/Tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment