Make WordPress Core

Changes between Initial Version and Version 17 of Ticket #53911


Ignore:
Timestamp:
08/20/2021 11:50:10 AM (3 years ago)
Author:
hellofromTonya
Comment:

Updated to include ticket goals including making it easier to backport tests for security backports.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53911

    • Property Status changed from new to assigned
    • Property Summary changed from Test modernization backwards-compatibility backports to help extenders with WordPress cross-version testing to Test 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 to 5.9
    • Property Owner set to johnbillion
    • Property Type changed from defect (bug) to task (blessed)
  • Ticket #53911 – Description

    initial v17  
    11Related to: #46149, #47381, #53904
    22
    3 This ticket seeks to help with WordPress cross-version testing for extenders who are using WordPress' test cases.
     3Goals:
     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+.
    47
    58The 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].
     
    1922=== Add wrappers for new snake case fixture methods
    2023
    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. 
     245.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.
    2225
    2326What about WordPress cross-version testing? In <= WordPress 5.8, the snake_case fixture methods did not exist.