[wp-trac] [WordPress Trac] #51344: Unit test improvements for 5.6
WordPress Trac
noreply at wordpress.org
Sun Nov 15 14:57:53 UTC 2020
#51344: Unit test improvements for 5.6
--------------------------------------+---------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.6
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by johnbillion):
In [changeset:"49605" 49605]:
{{{
#!CommitTicketReference repository="" revision="49605"
Built/Test Tools: Switch to a data provider for the default user role and
capability tests.
This test previously performed 1,010 assertions, and a failure in any one
would prevent the other assertions from running. Using a data provider
means simultaneous failures will all be reported at once.
See #51344, #32394
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51344#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list