[wp-trac] [WordPress Trac] #53119: Tests: introduce naming conventions for data providers and use named test cases

WordPress Trac noreply at wordpress.org
Fri Apr 30 19:33:00 UTC 2021


#53119: Tests: introduce naming conventions for data providers and use named test
cases
------------------------------+------------------------------
 Reporter:  jrf               |       Owner:  (none)
     Type:  task (blessed)    |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:  docs
------------------------------+------------------------------

Comment (by pbiron):

 I know...the point I was trying to make is the provider for `test1` is not
 ''immediately'' following it.  The provider is after `test3`, so a
 contributor would still have to "jump around" to find it's provider...just
 as they would for finding the provider for `test3` if all providers were
 at the bottom of the class.

 Again, I welcome the proposal ''as written'', but personally would find it
 easier if I could know that all providers were at the bottom of the class.

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


More information about the wp-trac mailing list