Update reproduction and patch testing report templates#166
Conversation
Restructure both templates with new fields (Database, MU Plugins, Support Content), replace Actual Results with Steps taken, and unify patch testing into a single template.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
@huzaifaalmesbah Great work on this handbook page! I'd like to suggest adding a dedicated section that points contributors to the Test Reports plugin, so they don't have to fill out the environment details manually.
This would sit right before the Report Template section, so readers see the automated option first.
Proposed section
## Generating Reports with the Test Reports Plugin
Instead of filling out the template manually, you can use the **Test Reports** plugin to auto-generate reproduction reports pre-filled with your environment details.
### What it does
The plugin automatically captures your WordPress version, PHP version, active theme, plugins, browser, and OS - eliminating manual data entry for the Environment section.
### Where to get it
Install **Test Reports** directly from: (https://github.com/WPContrib/test-reports/archive/refs/tags/0.1.0.zip)
### How to use it
1. Install and activate the plugin on your test site.
2. Navigate to the Tools > Test Reports.
3. Select the Report Location (Trac or GitHub) - the plugin will format the output accordingly.
5. Fill in only the fields that require manual input: **Steps taken**, **Expected behavior**, and **Additional Notes**.
### Tips
- For **GitHub issues**, the plugin outputs Markdown-formatted reports ready to paste directly.
- For **Trac tickets**, the plugin outputs Wiki-formatted reports compatible with Trac's syntax.
- Always review the auto-filled environment details before posting to confirm accuracy.Why this helps:
- Reduces friction for contributors - especially newcomers who may be unfamiliar with all the environment fields.
- Ensures more consistent and complete environment data across reports.
- The manual templates remain useful as a reference for understanding what the plugin captures.
Happy to adjust the wording or placement if needed!
@nikunj8866 Thanks for the suggestion! I agree that pointing contributors to the Test Reports plugin is helpful. However, I already have a PR on the original plugin to update the templates to match this handbook format: afragen/test-reports#6 I think we can either use the original plugin URL or skip this section for now. Once the PR is merged, we can add the full section with the official wordpress.org plugin link. What do you think? |
|
@huzaifaalmesbah That makes sense. I've already pinged Andy Fragen and @costdev to review and merge afragen/test-reports#6, so I'd suggest we wait a few days to see if it gets merged. If it does, we can update this PR to include the full section with the official wordpress.org plugin link - which would be the cleanest outcome.
If we don't hear back in time, I think we have two reasonable paths:
I'm leaning toward option 1 to keep things clean, but happy to go with whatever the team prefers. What do you think? |
3kori
left a comment
There was a problem hiding this comment.
This PR is ready to go as is. If the PR to the test report plugin isn't merged any time soon, we can go with option 1 by @nikunj8866
Per PR review feedback, add a "Generating Reports with the Test Reports Plugin" section directing contributors to the plugin before the manual templates.
|
This PR is ready for review. Let me know if any changes are needed! |


Summary
Proposed changes to the Reproduction and Patch Testing report templates as discussed in #104.
Changes to both templates
🐞/✅/❌)<pre><code>with fenced code blocks for the Trac templatePatch testing specific
Closes #104
Test plan
🤖 Generated with Claude Code