[wp-trac] [WordPress Trac] #64225: Test tool and unit test improvements for 7.0
WordPress Trac
noreply at wordpress.org
Tue Jan 13 15:11:26 UTC 2026
#64225: Test tool and unit test improvements for 7.0
--------------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 7.0
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by jonsurrell):
In [changeset:"61478" 61478]:
{{{
#!CommitTicketReference repository="" revision="61478"
Build/Test Tools: Use semantic HTML comparison in script tests.
The `assertEqualHTML()` method makes tests resilient to irrelevant
syntactic changes in HTML output, focusing on semantic equivalence rather
than exact string matching.
Developed in https://github.com/WordPress/wordpress-develop/pull/10727.
Follow up to [61394], [61391].
Props jonsurrell, cbravobernal.
See #64225.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64225#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list