[wp-trac] [WordPress Trac] #53363: Test tool and unit test improvements for 5.9

WordPress Trac noreply at wordpress.org
Wed Dec 15 19:59:49 UTC 2021


#53363: Test tool and unit test improvements for 5.9
--------------------------------------+---------------------
 Reporter:  desrosj                   |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  5.9
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"52382" 52382]:
 {{{
 #!CommitTicketReference repository="" revision="52382"
 Tests: Mock the HTTP request response in `download_url()` tests.

 This aims to speed up the tests and minimize unrelated failures by
 avoiding an unnecessary external HTTP request, while still performing the
 intended functionality checks.

 Update similar helpers in some other tests to use more consistent
 terminology.

 Follow-up to [37907], [46175], [51626].

 See #54420, #53363.
 }}}

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


More information about the wp-trac mailing list