sebastianbergmann/phpunit — pull request #757 by gman-php (2012-12-21 10:23:53+00:00)
Title: Globales are defined too late in TestCaseMethod.tpl.dist

Hi there,

I found out, that the 'TestCaseMethod.tpl.dist' file is first doing the includes and after that the globals are registered. This is bad, if you react on global variables (defined in the phpunit.xml config via ) in the bootstrap; so they are not present, but they are without process-isolation!
The globals need to be defined first and after that the includes should be done, so the behaviour is like it is without process-isolation.

Kind regards,

Andy!