[wp-trac] [WordPress Trac] #53363: Test tool and unit test improvements for 5.9

WordPress Trac noreply at wordpress.org
Wed Aug 4 20:11:12 UTC 2021


#53363: Test tool and unit test improvements for 5.9
--------------------------------------+---------------------
 Reporter:  desrosj                   |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  5.9
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by jrf):

 Replying to [comment:33 jrf]:
 > Replying to [comment:28 SergeyBiryukov]:
 > > Replying to [comment:23 jrf]:
 > > Right, WordPress test suite still supports PHPUnit 5.4.x as the
 minimum version as of [47880].
 > >
 > > That said, I don't see any issue with bumping that requirement to
 PHPUnit 5.7.x.
 >
 > @SergeyBiryukov FYI: The requirement will be raised to `5.7.21` in the
 polyfills patch anyway, so we could just wait a little for that patch to
 land before those two assertion change patches get committed ?

 Both the `53363-02-use-assertfileisreadable.patch` and the `53363-03-use-
 assertdirectoryexists.patch` changes are now unblocked after the commits
 made for #47381, which raised the minimum PHPUnit version to 5.7.x as the
 assertion functions being introduced in those patches are available since
 PHPUnit 5.6.0.

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


More information about the wp-trac mailing list