Opened 8 years ago
Last modified 8 years ago
#3084 new task (blessed)
PHPUnit 6 compatibility
Reported by: | netweb | Owned by: | netweb |
---|---|---|---|
Milestone: | Future Release | Priority: | high |
Severity: | normal | Version: | |
Component: | Tools - Build | Keywords: | needs-patch |
Cc: |
Description
Via #WP39822
PHPUnit no longer supports PHPUnit_Framework_TestCase
as the base class.
https://github.com/sebastianbergmann/phpunit/blob/6.0/ChangeLog-6.0.md#600---2017-02-03
$ phpunit Installing... Running as single site... To run multisite, use -c tests/phpunit/multisite.xml PHP Fatal error: Class 'PHPUnit_Framework_TestCase' not found in /Users/miyauchi/wp-core/trunk/tests/phpunit/includes/testcase.php on line 15
I wrote aliases for it.
It looks woking fine with phpunit 5.6 and phpunit 6.
Change History (1)
Note: See
TracTickets for help on using
tickets.