Merge pull request #6941 from Firesphere/pulls/phpunit-pretty-print

[Improvement|testing] Use scriptfusion to immediately print PHPUnit output
This commit is contained in:
Damian Mooyman 2017-05-22 10:25:36 +12:00 committed by GitHub
commit a3e6634ac0
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>