[wp-unit-tests] [WordPress Unit Tests] #110: Public functions for cache should be directly tested

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 22 00:58:39 UTC 2012


#110: Public functions for cache should be directly tested
-------------------------+------------------
 Reporter:  tollmanz     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:
Component:  Cache        |  Resolution:
 Keywords:               |
-------------------------+------------------
Changes (by tollmanz):

 * cc: tollmanz@… (added)


Comment:

 I think these should be painstakingly written with the wrapper function in
 mind. Since the wrapper function rarely matches the corresponding
 WP_Object_Cache method with regard to default arguments, the wrappers need
 to be tested specifically and separately. That said, I would imagine that
 the tests can be copied and modified from there.

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/110#comment:6>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list