[wp-trac] [WordPress Trac] #41658: Renaming unit tests with underscore in their names.

WordPress Trac noreply at wordpress.org
Thu Aug 17 12:31:30 UTC 2017


#41658: Renaming unit tests with underscore in their names.
------------------------------+------------------------------
 Reporter:  stephdau          |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by stephdau):

 Replying to [comment:1 Mte90]:
 > I think that they are an exception because they are all name of
 functions of WordPress.

 Don't think that's a valid enough reason. :)
 Especially when we explicitly say the following for classes:
 > Class file names should be based on the class name with class- prepended
 and the **underscores in the class name replaced with hyphens**, for
 example WP_Error becomes: class-wp-error.php

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


More information about the wp-trac mailing list