Skip to content

Commit

Permalink
Rename test file to match func, class, or method.
Browse files Browse the repository at this point in the history
Per the WordPress Core coding standards, test files should
be named according to the function, class, or method under
test within its test class.

Function under test:
wpFunctioName.php

Class under test:
wpClassName.php

Method under test:
wpClassName/methodName.php

See https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#naming-and-organization.
  • Loading branch information
hellofromtonya committed Jan 31, 2024
1 parent 04d4c95 commit 7d2d826
Showing 1 changed file with 0 additions and 0 deletions.

0 comments on commit 7d2d826

Please sign in to comment.