[wp-trac] [WordPress Trac] #57841: Test tool and unit test improvements for 6.3

WordPress Trac noreply at wordpress.org
Thu Jun 15 03:23:39 UTC 2023


#57841: Test tool and unit test improvements for 6.3
--------------------------------------+---------------------
 Reporter:  hellofromTonya            |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.3
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by peterwilsoncc):

 In [changeset:"55924" 55924]:
 {{{
 #!CommitTicketReference repository="" revision="55924"
 Tests/Build tools: Various term related test improvements.

 Modifies the tests for `get_tag_link()`, `get_term()` and
 `get_term_field()` to:

 - use shared fixtures as possible
 - improves variable names
 - add `@covers` annotation as required

 Props peterwilsoncc, costdev.
 See #57841.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57841#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list