[wp-trac] [WordPress Unit Tests] #137: Better separation of framework files from test suite

WordPress Trac noreply at wordpress.org
Wed Oct 31 20:52:06 UTC 2012


#137: Better separation of framework files from test suite
----------------------------+-----------------------
 Reporter:  scribu          |       Owner:
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:
Component:  Test Framework  |  Resolution:
 Keywords:                  |
----------------------------+-----------------------
Changes (by Viper007Bond):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I spoke too soon. This broke the `test_wp_unique_filename` test:

 {{{
 1) Tests_Functions::test_wp_unique_filename
 D:\My Documents\Dropbox\htdocs\wordpress-unit-
 tests\includes/../data/images/test
 -image-with-path.png
 Failed asserting that two strings are equal.
 --- Expected
 +++ Actual
 @@ @@
 -'DMy DocumentsDropboxhtdocswordpress-unit-testsincludes..dataimagestest-
 image-w
 ith-path.png'
 +'DMy-DocumentsDropboxhtdocswordpress-unit-testsincludes..dataimagestest-
 image-w
 ith-path.png'

 D:\My Documents\Dropbox\htdocs\wordpress-unit-
 tests\tests\functions.php:199
 }}}

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


More information about the wp-trac mailing list