phpunit.xml.dist
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap = "./Tests/bootstrap.php"
backupGlobals = "false"
backupStaticAttributes = "false"
convertErrorsToExceptions = "true"
convertNoticesToExceptions = "true"
convertWarningsToExceptions = "true"
processIsolation = "false"
stopOnFailure = "false"
syntaxCheck = "false"
colors = "true">
<testsuites>
<testsuite name="VichUploaderBundle Test Suite">
<directory suffix="Test.php">./Tests</directory>
</testsuite>
</testsuites>
<php>
<server name="KERNEL_DIR" value="./Tests/Fixtures/App/app" />
</php>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Resources</directory>
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>