sebastianbergmann/phpunit — pull request #573 by mgb (2012-05-20 19:58:27+00:00)
Title: Exclude directories - Use AbsolutePath

When you run phpunit using a configuration file where the current working directory does not match the configuration's directory, phpunit will fail to exclude paths in testsuites correctly.

Sample configuration:

.
LongTests
FlakyTests

If you run that configuration from any other directory, the . will go to the absolute path of the configuration, while the excludes will only exclude from your current working directory (which won't match the . directory).