Skip to content

Release Announcement for PHPUnit 5.5.0

Sebastian Bergmann edited this page Sep 22, 2016 · 3 revisions

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.

New Features

  • 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

Changes

  • An AssertionError raised by an assert() in the tested code now causes the test to be interpreted as a failure instead of an error

Obtaining PHPUnit 5.5

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.

Requirements

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.

Looking Ahead

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

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.

Support for PHPUnit 5

Following our release process, PHPUnit 5 will receive bug fixes until February 2, 2018.

Clone this wiki locally