XML snippet: phunit configuration

This commit is contained in:
Simon Vieille 2017-04-04 23:48:23 +02:00
parent 0e4b27281c
commit 9a2c01dde5

View file

@ -113,3 +113,24 @@ endsnippet
snippet param "param of service container"
<parameter key="$1"></parameter>
endsnippet
snippet phpunit
<phpunit
backupGlobals = "false"
backupStaticAttributes = "false"
colors = "true"
convertErrorsToExceptions = "true"
convertNoticesToExceptions = "true"
convertWarningsToExceptions = "true"
processIsolation = "false"
stopOnFailure = "false"
syntaxCheck = "true"
bootstrap = "vendor/autoload.php" >
<testsuites>
<testsuite name="$1">
<directory>tests/</directory>
</testsuite>
</testsuites>
</phpunit>
endsnippet