[wp-trac] [WordPress Trac] #62325: Ensure PHPUnit tests making network requests are in the external-http group.

WordPress Trac noreply at wordpress.org
Thu Oct 31 20:59:42 UTC 2024


#62325: Ensure PHPUnit tests making network requests are in the external-http
group.
------------------------------+---------------------
 Reporter:  peterwilsoncc     |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.8
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+---------------------
Changes (by azaozz):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => 6.8


Comment:

 Thanks for opening this ticket!

 > these tests can be slow and are susceptible to failure in un-ideal
 network conditions

 Yep, thinking that fixing the group will be a nice improvement for most
 people that run the unit tests locally (the tests can be run with
 `--exclude-group external-http` when network connection is slow). Would
 probably be good to also add a reminder/docs to maintain that group when
 new tests are added.

 Seems this can be done in 6.8. May also be a good-first-bug, perhaps.

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


More information about the wp-trac mailing list