Changes between Initial Version and Version 17 of Ticket #53911
- Timestamp:
- 08/20/2021 11:50:10 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53911
-
Property
Status
changed from
new
toassigned
-
Property
Summary
changed from
Test modernization backwards-compatibility backports to help extenders with WordPress cross-version testing
toTest modernization backwards-compatibility backports to help security test backports and extenders with WordPress cross-version testing
- Property Keywords has-patch 2nd-opinion added
-
Property
Milestone
changed from
Awaiting Review
to5.9
- Property Owner set to johnbillion
-
Property
Type
changed from
defect (bug)
totask (blessed)
-
Property
Status
changed from
-
Ticket #53911 – Description
initial v17 1 1 Related to: #46149, #47381, #53904 2 2 3 This ticket seeks to help with WordPress cross-version testing for extenders who are using WordPress' test cases. 3 Goals: 4 - Allow tests which need to be backported for the security test suite to be backported to older WP versions without the need to make significant changes to these tests to get them to run. 5 - Make it easier for extenders who are using core's test case(s) to be able to have one test suite and still be able to run it against multiple WP versions, including WP 5.9. 6 - Not make significant changes to the test suites for older WP versions including not making older WP versions run PHPUnit 8+. 4 7 5 8 The scope of work was discussed during a live working session with @jrf, @johnbillion, @sergeybiryukov, and me. Listen or watch this live session [https://youtu.be/SAtiKaUwLU4?t=9389 here] and [https://www.youtube.com/watch?v=SAtiKaUwLU4&t=13339s here]. … … 19 22 === Add wrappers for new snake case fixture methods 20 23 21 5.9-alpha and newer use snake_case fixture methods (see changeset [51568] for more information). Extender's tests using the native PHPUnit fixture test methods will need to be changed to the new snake_case fixture methods. 24 5.9-alpha and newer use snake_case fixture methods (see changeset [51568] for more information). Extender's tests using the native PHPUnit fixture test methods will need to be changed to the new snake_case fixture methods. 22 25 23 26 What about WordPress cross-version testing? In <= WordPress 5.8, the snake_case fixture methods did not exist.