[wp-trac] [WordPress Trac] #46149: PHPUnit 8.x support

WordPress Trac noreply at wordpress.org
Tue Aug 18 23:15:39 UTC 2020


#46149: PHPUnit 8.x support
--------------------------------------------+-----------------------
 Reporter:  SergeyBiryukov                  |       Owner:  netweb
     Type:  task (blessed)                  |      Status:  assigned
 Priority:  high                            |   Milestone:  5.6
Component:  Build/Test Tools                |     Version:
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch has-unit-tests early  |     Focuses:
--------------------------------------------+-----------------------

Comment (by jrf):

 I understand the direction you all want to take, but cannot in good
 conscience support it for the following reasons:

 1. It really isn't as straight forward as outlined in the comments above
 and I say so based on both my experience with other test code bases as
 well as on the work I did for this ticket.
 2. It will raise the barrier for entry to new contributors by a factor
 five as they will need to learn new (undocumented) names for fixtures,
 assertions etc The PHPUnit knowledge they already have becomes next to
 useless, the PHPUnit manual can no longer be used as reference etc.
 3. It will alienate existing contributors to the tests.
 4. I truly believe our time would be better spend on making WP compatible
 with newer PHP versions, than on a huge undertaking of making the unit
 test suite compatible with PHPUnit 5 - 9.

 So good luck to you. I wish you well.

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


More information about the wp-trac mailing list