[TYPO3-dev] Shell execution of phpunit tests for typo3core
Christoph Koehler
christoph.koehler at gmail.com
Fri Sep 18 17:49:44 CEST 2009
On 9/18/09 9:50 AM, Christoph Koehler wrote:
> Good luck with that. We tried that a couple years back but never got the
> TYPO3 environment to load properly. If I remember correctly, there were
> also differences between running from PHP CLI and PHPUnit; something
> about global arrays that have been made global with the "global"
> keyword, not $GLOBALS[xxx]. The array seemed to not be there if running
> inside PHPUnit, so the environment is never correctly set up.
>
> If you guys can get it to work, more power to you! Let me know how to
> get it to work!
> The PHPUnit Trac doesn't work for me for some reason, but you should be
> able to find the old tickets I submitted there.
>
> Christoph
Just to follow up, here's the bug report: http://www.phpunit.de/ticket/99
Still don't understand why it's invalid, but it doesn't work :)
More information about the TYPO3-dev
mailing list