-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where are the generated HTML-pages saved? #29
Comments
Hi @gitressa to generate the HTML output, you'll need to configure the PHPUNIT environment. I do this with a custom
Custom phpunit config file support was added in #30 DDEV Selenium Standalone Chrome takes a different approach and set the values on a container level. Play around and see what works best for your project. |
Hi @gitressa You need to configure PHPunit. I specifically submitted #30 because I wanted to generate the HTML output and prefer dot-output instead of test names when running PHPunit. So now, you have 2 choices.
NOTE: This file will not longer be automaticated updated when you update the add-on. |
Thanks for creating that PR @tyler36! So as a user, I need to copy and edit a |
Yes, either take control of the configuration. Or take control of the command. |
if you go the config route, at mimimum, you want something like: <phpunit bootstrap="web/core/tests/bootstrap.php"
printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter">
<testsuites>
<testsuite name="modules">
<directory>web/modules/custom</directory>
</testsuite>
</testsuites>
</phpunit> |
Fixed by #63. Now Drupal's printer says where they are saved. |
After running PHPUnit tests with DDEV Selenium Standalone Chrome, a lot of helpful HTML-pages are available in the
web/sites/simpletest/browser_output
folder.Is it also possible to get those pages generated in this project as well? Or maybe they already exist?
"web/sites/simpletest/browser_output" folder
The text was updated successfully, but these errors were encountered: