[wp-trac] [WordPress Trac] #55652: Test tool and unit test improvements for 6.1
WordPress Trac
noreply at wordpress.org
Fri Oct 7 00:40:22 UTC 2022
#55652: Test tool and unit test improvements for 6.1
--------------------------------------+---------------------
Reporter: hellofromTonya | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.1
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by SergeyBiryukov):
In [changeset:"54401" 54401]:
{{{
#!CommitTicketReference repository="" revision="54401"
Tests: Bring some consistency to `WP_Image_Editor_GD` and
`WP_Image_Editor_Imagick` tests.
Includes:
* Adjusting test method descriptions and comments per the documentation
standards.
* Creating image editor class instances directly, instead of calling
`wp_get_image_editor()`.
* Cleaning up temporary files before performing assertions, where
possible.
* Using more consistent variable names for image editor class instances.
* Reordering some test methods.
Follow-up to [1182/tests], [1188/tests], [27794], [30549], [30990],
[31040], [39580], [40123], [49230], [49488], [49542], [49751].
See #55652.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55652#comment:200>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list