[TYPO3-mvc] Testing extbase extensions with pure phpunit
Christoph Ehscheidt
ehscheidt at punkt.de
Fri Jul 30 14:34:26 CEST 2010
Alright, got it by myself.
You can use the cli mode of the phpunit extension.
With the cli_dispatcher you can call the script with phing and then use the
output reports whereever you want. :-)
Just one more question:
Is it right that usually the TYPO3-Community naming tests like
Blabla_testcase.php ?
This is a bit strange because phpunit can't match them in cli mode.
If you rename them to BlablaTest.php everything works fine.
Thanks
Am Freitag, 30. Juli 2010, um 12:02:36 schrieb Christoph Ehscheidt:
> Hi @ all,
>
> I tried to test a new extbase based extension with phpunit. With the
> tx_phpunit extension everything works fine. But I want to test the code
> with a different tool (hudson) and build reports.
>
> Does everyone has experience with it?
>
> For example how do I use the autoload-class from typo3?
>
>
> Thanks a lot!
>
> Chris
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
More information about the TYPO3-project-typo3v4mvc
mailing list