[wp-trac] [WordPress Trac] #60227: HTML API: Add external test suite

WordPress Trac noreply at wordpress.org
Tue Feb 27 19:06:53 UTC 2024


#60227: HTML API: Add external test suite
--------------------------------------+---------------------
 Reporter:  jonsurrell                |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.5
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by jonsurrell):

 Excluding the html5lib-tests from "regular" test runs seems like a good
 plan to me.

 > Yep, we can just add html-api to phpunit.groups.exclude like the other
 excluded groups, and work out something for the GitHub CI jobs.

 We don't want to exclude all of the `html-api` group tests so we'll
 probably need another group.

 I've pushed a change to the PR that adds a group and excludes it in
 `phpunit.xml`. This seems to work well, the tests don't run by default but
 can be run by running phpunit with `--group=html-api-html5lib-tests`.

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


More information about the wp-trac mailing list