[wp-unit-tests] [WordPress Unit Tests] #120: Report on @ticket annotations in tests

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 12 06:20:58 UTC 2012


#120: Report on @ticket annotations in tests
----------------------------+------------------
 Reporter:  kurtpayne       |       Owner:
     Type:  defect          |      Status:  new
 Priority:  normal          |   Milestone:
Component:  Test Framework  |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by kurtpayne):

 Just apply [[attachment:120.patch]] and run `php bin/tickets.php`.
 Example output:

 {{{
 ---------------------------------------
 Status: closed: duplicate (1)
 ---------------------------------------

 Ticket: 5381
 Class:  Tests_Term
 Method: test_is_term_type

 ---------------------------------------
 Status: closed: fixed (61)
 ---------------------------------------

 Ticket: 10493
 Class:  Tests_Actions_Closures
 Method: test_action_closure

 Ticket: 11241
 Class:  Tests_Actions
 Method: test_action_keyed_array

 ....
 }}}

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


More information about the wp-unit-tests mailing list