[wp-trac] [WordPress Trac] #63167: Test tool and unit test improvements for 6.9
WordPress Trac
noreply at wordpress.org
Mon May 26 12:03:35 UTC 2025
#63167: Test tool and unit test improvements for 6.9
--------------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.9
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by johnbillion):
In [changeset:"60251" 60251]:
{{{
#!CommitTicketReference repository="" revision="60251"
Build/Test Tools: Add assertions that test the tests.
Several tests perform assertions conditionally or iterate dynamic arrays
without ensuring they're populated. If the test is faulty and the
condition never evaluates to true, or the array being iterated is
unexpectedly empty, this will now correctly cause the test to fail.
Props johnbillion, jrf.
See #63167
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63167#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list