[wp-trac] [WordPress Unit Tests] #116: Add more coverage for query.php
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 6 00:16:32 UTC 2012
#116: Add more coverage for query.php
-------------------------+-----------------
Reporter: tollmanz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Query | Keywords:
-------------------------+-----------------
Functions in query.php and in the WP_Query class need more unit tests. I
will attach a patch to this ticket that add unit tests for the following
methods/functions:
* set_query_var
* get_query_var
* wp_reset_query
* wp_reset_postdata
* query_posts
* have_posts
* in_the_loop
* rewind_posts
* the_post
I plan to continue working on unit tests, guided by areas not covered as
pointed out here:
http://jenkins.kpayne.co:8080/job/WordPress/lastCompletedBuild/cloverphp-
html/wp-includes_query.php.html
--
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/116>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project
More information about the wp-trac
mailing list