sebastianbergmann/phpunit — Issue #463: PHPUnit_Framework_TestCase::testRequirements collides with actual test methods
Author: stewartlord
Created: 2012-01-19 17:39:24+00:00
State: open

The 'testRequirements' method conflicts with test class method naming. The convention for naming test methods is 'testMethod'. Any test class implementing a 'testRequirements' method will have this method run for every unit test in the class. This can produce some very unexpected behavior.

Propose that this method be renamed checkRequirements() See also: [#376](https://github.com/sebastianbergmann/phpunit/issues/376)