-
Notifications
You must be signed in to change notification settings - Fork 0
Release Announcement for PHPUnit 5.5.0
The PHPUnit development team announces the immediate availability of PHPUnit 5.5.0. This release adds new features and fixes bugs. A detailed list of changes is available here.
- Added the
PHPUnit\Framework\TestCase::createPartialMock()
method for creating partial test doubles using best practice defaults - Merged #2203: Ability to
--list-suites
for a given configuration
- An
AssertionError
raised by anassert()
in the tested code now causes the test to be interpreted as a failure instead of an error
We distribute a PHP Archive (PHAR) that contains everything you need in order to use PHPUnit. Simply download it from here, make it executable, and put it into your $PATH
, for instance.
Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies.
PHPUnit 5.5 requires PHP 5.6; using the latest version of PHP is highly recommended. The documentation has a detailed list of the PHP extensions that are required to use PHPUnit.
The goal of our release process is to deliver new features into the hands of our users every two months. The next release with new features will be PHPUnit 5.6. It is currently in development and will become stable on October 7, 2016.
PHPUnit 6, which is scheduled for February 3, 2017, will no longer support PHP 5. There will also be quite a few, potentially breaking, changes that you can read about here.
Following our release process, PHPUnit 5 will receive bug fixes until February 2, 2018.