[wp-trac] [WordPress Trac] #29718: Improved coverage for WP_Tax_Query unit tests
WordPress Trac
noreply at wordpress.org
Thu Oct 2 01:07:23 UTC 2014
#29718: Improved coverage for WP_Tax_Query unit tests
--------------------------+---------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.1
Component: Taxonomy | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"29805"]:
{{{
#!CommitTicketReference repository="" revision="29805"
Improve unit tests for WP_Tax_Query.
* Exhaustive tests for publicly available functionality of WP_Tax_Query.
* For tests that are related to the tax_query argument as used in
WP_Query, move to tests/post/query.php.
* Add some tax_query tests to cover single vs multiple queries using AND
and OR; various values for 'field'; various values for 'operator'.
* Improve test names.
* Correct @group annotations.
* Improve performance of some WP_Query-related tests by declaring
'update_post_meta/term_cache' false.
Fixes #29718
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29718#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list