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

WordPress Trac noreply at wordpress.org
Thu Feb 1 01:01:13 UTC 2024


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

Comment (by dmsnell):

 In [changeset:"57508" 57508]:
 {{{
 #!CommitTicketReference repository="" revision="57508"
 HTML API: Test cleanup

 Rename `$p` variable to `$processor` in tests for clarity.

 Use static data providers. A mix of static and non-static data providers
 were
 used in HTML API tests.  Data providers are required to be static in the
 next
 PHPUnit version and there's no harm in using them consistently now.

 Follow-up to [57507]

 Props jonsurrell
 See #59647
 }}}

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


More information about the wp-trac mailing list