Skip to content

Commit 7d2779e

Browse files
authored
Remove --testdox parameter from phpunit command (#63)
The `--testdox` parameter replaces the printer we previously set with `--printer`. This causes the following problems: - The previous exception is not shown, see sebastianbergmann/phpunit#5863 - The "HTML output was generated" message from Drupal is not shown. By removing the argument we fall back to the Drupal output printer. A developer can still manually append --testdox when running `ddev phpunit`.
1 parent 03ebd77 commit 7d2779e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/web/phpunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ if [ -f "phpunit.xml" ]; then
1818
phpunit "$@"
1919
else
2020
# Bootstrap Drupal tests and run all custom module tests.
21-
phpunit --printer="\Drupal\Tests\Listeners\HtmlOutputPrinter" --bootstrap $PWD/$DDEV_DOCROOT/core/tests/bootstrap.php --testdox $DDEV_DOCROOT/modules/custom "$@"
21+
phpunit --printer="\Drupal\Tests\Listeners\HtmlOutputPrinter" --bootstrap $PWD/$DDEV_DOCROOT/core/tests/bootstrap.php $DDEV_DOCROOT/modules/custom "$@"
2222
fi

0 commit comments

Comments
 (0)