Issue #2870145 by valthebald, jibran, tstoeckler, alexpott, vijaycs85, larowlan: Set printerClass in phpunit.xml.dist

merge-requests/1119/head
Alex Pott 2019-06-23 12:32:48 +01:00
parent 747bd4892c
commit 0b95d68f71
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 2 additions and 9 deletions

View File

@ -8,15 +8,8 @@
<phpunit bootstrap="tests/bootstrap.php" colors="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutChangesToGlobalState="true">
<!-- TODO set printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter" once
https://youtrack.jetbrains.com/issue/WI-24808 is resolved. Drupal provides a
result printer that links to the html output results for functional tests.
Unfortunately, this breaks the output of PHPStorm's PHPUnit runner. However, if
using the command line you can add
- -printer="\Drupal\Tests\Listeners\HtmlOutputPrinter" to use it (note there
should be no spaces between the hyphens).
-->
beStrictAboutChangesToGlobalState="true"
printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter">
<php>
<!-- Set error reporting to E_ALL. -->
<ini name="error_reporting" value="32767"/>