diff --git a/core/phpunit.xml.dist b/core/phpunit.xml.dist index b34845a04b0d12bd19145714aa17deccf5789327..5d6146726c56e0516c8aeeced1cc7fb54b6cf10c 100644 --- a/core/phpunit.xml.dist +++ b/core/phpunit.xml.dist @@ -1,12 +1,19 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- TODO set checkForUnintentionallyCoveredCode="true" once https://www.drupal.org/node/2626832 is resolved. --> +<!-- 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). +--> <phpunit bootstrap="tests/bootstrap.php" colors="true" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutOutputDuringTests="true" beStrictAboutChangesToGlobalState="true" - checkForUnintentionallyCoveredCode="false" - printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter"> + checkForUnintentionallyCoveredCode="false"> <php> <!-- Set error reporting to E_ALL. --> <ini name="error_reporting" value="32767"/>