[wp-trac] [WordPress Trac] #57841: Test tool and unit test improvements for 6.3
WordPress Trac
noreply at wordpress.org
Fri Mar 24 17:10:59 UTC 2023
#57841: Test tool and unit test improvements for 6.3
--------------------------------------+---------------------
Reporter: hellofromTonya | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.3
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by SergeyBiryukov):
In [changeset:"55591" 55591]:
{{{
#!CommitTicketReference repository="" revision="55591"
Tests: Split the tests from `post/template.php` into individual test
classes.
This aims to bring some consistency to the location of post template
function tests, as well as to make the tests more discoverable and easier
to expand.
Includes:
* Adding `@covers` tags.
* Renaming `get_post_parent()` and `has_post_parent()` tests to match the
names of the functions.
Follow-up to [28398], [31522], [34654], [34950], [50127], [50396],
[54717], [54726], [55590].
See #57841.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57841#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list