[wp-trac] [WordPress Trac] #41658: Renaming unit tests with underscore in their names.
WordPress Trac
noreply at wordpress.org
Thu Aug 17 12:44:25 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 pento):
Yeah, we can do this. We have plenty of other files with a similar purpose
(ie, the entire content of the
[https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/functions
functions folder]) that manage to convey their purpose without using
underscores.
There doesn't appear to be any particular standard for naming test files,
but it looks like camelCase is the most common, so I'm cool with using
that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41658#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list