[wp-trac] [WordPress Trac] #43395: Add Automated E2E Tests for Core Updates

WordPress Trac noreply at wordpress.org
Wed Mar 7 20:58:30 UTC 2018


#43395: Add Automated E2E Tests for Core Updates
-----------------------------+--------------------
 Reporter:  jorbin           |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.9.5
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  2nd-opinion      |     Focuses:
-----------------------------+--------------------

Comment (by voldemortensen):

 I made a thing.
 https://github.com/voldemortensen/WordPress-Update-Tests

 Currently, it just runs through every version back to 3.7 and runs `wp
 core update <url to update zip>`, but it would be easy to expand on this.
 Of course, run.pl will need to be converted to PHP, Perl is just my go to
 language.

 In run.pl, instead of running `wp core update <url>`, we could run `wp
 eval '//update code'` or any sort of custom thing really.

 The first run takes awhile as it has to build custom images, but once
 those are cached it moves pretty quickly.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43395#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list