Use scriptfusion to immediately print PHPUnit output. Prettier and faster.

This commit is contained in:
Simon Erkelens 2017-05-21 17:02:28 +12:00
parent f35017479b
commit 24a5bf6ff1
2 changed files with 4 additions and 1 deletions

View File

@ -45,6 +45,7 @@
},
"require-dev": {
"phpunit/phpunit": "^5.7",
"scriptfusion/phpunit-immediate-exception-printer": "^1",
"silverstripe/versioned": "^1.0@dev",
"silverstripe/behat-extension": "^3",
"silverstripe/serve": "dev-master",

View File

@ -3,7 +3,9 @@
Standard module phpunit configuration.
Requires PHPUnit ^5.7
-->
<phpunit bootstrap="tests/bootstrap.php" colors="true">
<phpunit printerClass="ScriptFUSION\PHPUnitImmediateExceptionPrinter\ImmediateExceptionPrinter"
bootstrap="tests/bootstrap.php"
colors="true">
<testsuite name="Default">
<directory>tests/php</directory>
</testsuite>