[wp-trac] [WordPress Trac] #53010: Tests: introduce namespacing for the test classes
WordPress Trac
noreply at wordpress.org
Tue Sep 24 12:57:19 UTC 2024
#53010: Tests: introduce namespacing for the test classes
-------------------------------------------------+-------------------------
Reporter: jrf | Owner:
| hellofromTonya
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch has-unit- | Focuses: docs,
tests | coding-standards
-------------------------------------------------+-------------------------
Comment (by pbearne):
@hellofromTonya
The script is just to help with a few automation and to make sure I get
the steps right.
I check every file and run the test on every.
I am confused as the what I should set he first part of the name to
Is the folder the test is in?
or the file the function is in
That said, we can now add namespace.
Could we create folders/namespace where the filename is the top folder
e.g./wp_includes/functions?
And only add a prefix if the function is in a class?
I notice that the pull requests in this ticket are for a single function
is this how you what the requests.
Or will you take a pull with 400 - 500 files/changes to get use started?
Paul
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53010#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list