[wp-trac] [WordPress Trac] #61646: HTML API: Improvements to testing and verification in 6.7

WordPress Trac noreply at wordpress.org
Tue Sep 3 16:25:32 UTC 2024


#61646: HTML API: Improvements to testing and verification in 6.7
--------------------------------------+---------------------
 Reporter:  dmsnell                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.7
Component:  HTML API                  |     Version:  6.6
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by dmsnell):

 In [changeset:"58971" 58971]:
 {{{
 #!CommitTicketReference repository="" revision="58971"
 HTML API: Improve skipped test reporting with unsupported exception.

 The `html5lib-tests` suite skips a number of tests due to unsupported
 markup. At the moment, these tests all report "Test includes unsupported
 markup." This patch calls the `get_unsupported_exception()` method in
 these skipped cases to improve the messages reported to PHPUnit so they're
 more informative: e.g. "Unsupported markup: Foster parenting is not
 supported."

 Developed in https://github.com/WordPress/wordpress-develop/pull/7285
 Discussed in https://core.trac.wordpress.org/ticket/61646

 Follow-up to [58714].

 Props dmsnell, jonsurrell.
 See #61646.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61646#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list