Patch Testing

Once a patch is made available for a ticket, it is critical to validate that the code change (a) addresses the issue (for bug report) or (b) delivers the expected behavior or result (for feature or enhancement).

During patch testing, please be aware of “regression” issues, where the patch may fix one thing, but break another unintentionally.

Example patch testing reports:

Bug/Defect Patch Report Template

Here is an example Test Report starter template, which can be copied and pasted directly into a text editor to prepare the report, and then added to TracTrac Trac is the place where contributors create issues for bugs or feature requests much like GitHub.https://core.trac.wordpress.org/. as a comment.

== Test Report
This report validates that the indicated patch addresses the issue.

Patch tested: REPLACE_WITH_PATCH_URL

=== Environment
- OS: macOS 12.3.1
- Web Server: Nginx
- PHP: 7.4.29
- WordPress: 6.0-RC1-53341-src
- Browser: Safari 15.4
- Theme: Twenty Twenty-Two
- Active Plugins:
  - Gutenberg 13.2.0
  - WordPress Beta Tester 3.2.1

=== Actual Results
- ✅ Issue resolved with patch.

=== Additional Notes
- Any additional details worth mention.

=== Supplemental Artifacts
Add Inline: [[Image(REPLACE_WITH_IMAGE_URL)]]
or
Add as Attachment

If already provided in the ticket, Testing Instructions do not need to be duplicated in the Test Report.

Top ↑

Feature or Enhancement Patch Report Template

Here is an example Test Report starter template, which can be copied and pasted directly into a text editor to prepare the report, and then added to Trac as a comment.

In the “Actual Results” section, list each of the “Expected Results” and report your findings using ✅ to indicate your testing validated it works as expected or ❌ to indicate it does not work as expected.

== Test Report
This report validates that the indicated patch addresses the issue.

Patch tested: REPLACE_WITH_PATCH_URL

=== Environment
- OS: macOS 12.3.1
- Web Server: Nginx
- PHP: 7.4.29
- WordPress: 6.0-RC1-53341-src
- Browser: Safari 15.4
- Theme: Twenty Twenty-Two
- Active Plugins:
  - Gutenberg 13.2.0
  - WordPress Beta Tester 3.2.1

=== Actual Results
- ✅ Expected result #1 works as expected with patch.
- ✅ Expected result #2 works as expected with patch.

=== Additional Notes
- Any additional details worth mention.

=== Supplemental Artifacts
Add Inline: [[Image(REPLACE_WITH_IMAGE_URL)]]
or
Add as Attachment

If already provided in the ticket, Testing Instructions do not need to be duplicated in the Test Report.

Last updated: