-
Notifications
You must be signed in to change notification settings - Fork 0
Release Announcement for PHPUnit 4.2.0
The PHPUnit development team announces the immediate availability of PHPUnit 4.2.0. This release adds new features and fixes bugs. A detailed list of changes is available here.
- Tests annotated with
@todowill now be reported as risky when the--disallow-todo-testsoption is used orbeStrictAboutTodoAnnotatedTests=trueis set in the configuration file - The
atLeast()andatMost()invocation count matchers were added - The
assertTag()andassertSelect*()assertion methods have been deprecated in favor of the phpunit-dom-assertions extension; these methods will be removed in PHPUnit 5.0 -
trigger_error(__METHOD__ . ' is deprecated', E_USER_DEPRECATED);is used now to indicate that a PHPUnit API method is deprecated; the old "system" for deprecating methods has been removed - The PHP Archive (PHAR) distribution of PHPUnit can now be used as a library;
include()ing orrequire()ing it will not execute the CLI test runner
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. Please note that we no longer support the PEAR installation method.
PHPUnit 4.2 requires PHP 5.3.3; 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 following releases are currently in development:
- PHPUnit 4.3 is the current beta release series of PHPUnit. It will become stable on October 3, 2014.
- PHPUnit 4.4 is the current alpha release series of PHPUnit. It will go into beta on October 3, 2014.