Bootstrap HtmlOutputLogger from phpunit.xml

Created on 8 June 2024, 7 months ago
Updated 11 July 2024, 5 months ago

Problem/Motivation

When removing the HtmlOutputPrinter listener in PHPUnit 10, we replaced it with the HtmlOutputLogger extension, and we initialize it from the bootstrap.php file. However, the canonical way to bootstrap PHPUnit extensions is by including it in the phpunit.xml, https://docs.phpunit.de/en/11.0/configuration.html#the-extensions-element

See https://docs.phpunit.de/en/11.0/extending-phpunit.html#implementing-an-e...

Also see https://drupal.slack.com/archives/C1BMUQ9U6/p1717659911747249

Proposed resolution

  • Change the extension bootstrap to phpunit.xml
  • Return the default to print out the list of all the links generated (verbose=true)

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
PHPUnit 

Last updated about 22 hours ago

Created by

🇮🇹Italy mondrake 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024