[wp-trac] [WordPress Trac] #53363: Test tool and unit test improvements for 5.9
WordPress Trac
noreply at wordpress.org
Tue Aug 17 20:01:30 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:"51628" 51628]:
{{{
#!CommitTicketReference repository="" revision="51628"
Tests: Move loading the `PO` class to `set_up_before_class()`.
This ensures that the class is loaded once before the first test of the
test case class is run, and `require_once()` is not unnecessarily called
for each test method individually.
Follow-up to [1106/tests].
See #53363.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53363#comment:59>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list