WordPress core Core is the set of software required to run WordPress. The Core Development Team builds WordPress. runs about 31,000 PHPUnit tests on every commit. These tests need maintenance just like core code: many leak state into other tests, some assert nothing, and several are coupled to network (versus site, blog) calls.
A goal for the Build/Test Tools component for the 7.2 release is to reduce build time and load across wordpress-develop and related repos. A healthier test suite will help!
This post is intended to show the pieces any contributor can claim, the same way the JSHint effort did in 2013. Same model is running today for 7.2 in PHPStan (#65817), docblocks (#65860), TypeScript (#65997), and JSDoc (#66033).
We need two kinds of help: 1) fix patches and 2) code reviews.
Why now
- We can now measure the suite. Pushes to
trunk now publish timing metrics to CodeVitals, and we can now flag tests that take too long as candidates to improve (see #65887).
- Isolation helps find good next fixes. Running the tests in random order exposes tight coupling and shared state. Two batches of fixes are already in from WordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. US 2026 contributor day Contributor Days are standalone days, frequently held before or after WordCamps but they can also happen at any time. They are events where people get together to work on various areas of https://make.wordpress.org/ There are many teams that people can participate in, each with a different focus. https://make.wordpress.org/support/handbook/getting-started/getting-started-at-a-contributor-day/, and 13 more pull requests are open that need your help (see #65893).
- We are shaping a queue for you to jump right in: pull requests with no reviewer, and umbrella tickets with no owner yet.
How to claim a new piece
- Pick an item from the tracks of work below; leave a comment on the Trac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. ticket Created for both bug reports and feature development on the bug tracker. and here on this post.
- Open pull requests and help review and finalize existing PRs.
Please follow the handbook pages on running the suite and writing PHP tests.
Reviewers wanted
Test isolation, #65893. Run the touched directory under two random seeds and once in default order, and confirm the patch A special text file that describes changes to code, by identifying the files and lines which are added, removed, and altered. It may also be referred to as a diff. A patch can be applied to a codebase for testing. restores state in tear_down() or the base testcase rather than special-casing one test. Examples: #13181 admin (and super admin), #13186 comment globals, #13187 user fixtures, #13191 Ajax hooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same., #13193 rewrite and query, and #13205 themes.
External HTTP HTTP is an acronym for Hyper Text Transfer Protocol. HTTP is the underlying protocol used by the World Wide Web and this protocol defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. guard, #63083. #13407 makes a test fail if it reaches the network without being in the external-http group. See the description for a 5-step test plan.
Strict assertions, #64895. #12583, #11707 and #12613. Check each assertSame() against the function’s documented return type.
Class split, #65208. Paused until after 7.2; see this update. Eighteen pull requests are open; the ticket lists them. Check that the file name matches the class name, that @covers moved with the tests, and that npm run test:php -- --test-suffix .php tests/phpunit/tests/admin passes.
Here are the tracks of work
First core contribution? Start with #65819, the catch-all for small test fixes. Great spot to jump in.
Login to Reply<\/a><\/li><\/ul><\/div>","commentTrashedActions":"