Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up to #2469721: Add functionality to store browser output to BrowserTestBase
Problem/Motivation
PHPStorm doesn't handle custom result printers well - https://youtrack.jetbrains.com/issue/WI-24808 is resolved. Drupal provides a result printer that links to the html output results for functional tests. Let's disable it for the time being.
Remaining tasks
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
#5 | 2706113-5.patch | 1.26 KB | alexpott |
#5 | 2-5-interdiff.txt | 735 bytes | alexpott |
#2 | 2706113-2.patch | 1.16 KB | alexpott |
Comments
Comment #2
alexpottComment #3
dawehnerThank you!
Comment #4
benjy CreditAttribution: benjy at PreviousNext commented+1 from me.
Comment #5
alexpottSo it turns out that you can customise the result printer on the command line using the --printer argument. So let's tell people about that. Unfortunately -- is not legal inside an XML comment. So now doing
--printer="\Drupal\Tests\Listeners\HtmlOutputPrinter"
is like doing --verbose on run-tests.Comment #8
catchCommitted/pushed to 8.2.x and cherry-picked to 8.1.x. Thanks!
It's sad having to degrade the experience for everyone else due to a proprietary IDE (which I don't use personally). Hopefully they'll fix that bug soon.
Comment #10
jibranCreated #2870145: Set printerClass in phpunit.xml.dist.