[Wp-unit-tests] [WordPress Unit Tests] #31: More comprehensive balanceTags() tests

WordPress Unit Tests noreply at wordpress.org
Mon Apr 9 21:27:32 UTC 2012


#31: More comprehensive balanceTags() tests
-------------------------+-----------------
 Reporter:  coffee2code  |      Owner:
     Type:  defect       |     Status:  new
 Priority:  minor        |  Milestone:
Component:  Formatting   |    Version:
 Keywords:               |
-------------------------+-----------------
 Attached is a patch adding my long-promised unit tests for
 `balanceTags()`, replacing the meager existing tests for the function.

 Since about 200 lines of code for the tests are being introduced, I
 figured they'd be better off in their own file rather than being inserted
 into the already 1200+ line test_includes_formatting.php.

 Tests: 14, Assertions: 35, Skipped: 4.

 The skipped tests are:

 * three tests tagged as knownWPBug(1597) for #WP1597
 * one test tagged as knownWPBug(20401) for #WP20401

-- 
Ticket URL: <http://unit-test.trac.wordpress.org/ticket/31>
WordPress Unit Tests <http://unit-test.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list