Deutsch
English

PHP Unit Testing with T3Unit

I've read about unit testing in the past, but never got time to try it out and make my first steps with it. Today I found some time for some self-study and tried PHP unit testing for the first time.

Following the short documentation of T3Unit and the PHPUnit documentation, I first installed PHPUnit v3 via the PEAR installer. But T3Unit didn't like the new version of PHPUnit. After some time I discovered the extension "pear_phpunit2" and installed it right away. Since then, the base is ok.

I took TemplaVoila to have a look on how to implement unit testing in a TYPO3 extension. All the unit tests of templavoila run fine, while my own tests on the seminars extension failed for the moment. But I'll give it a second shot as soon as possible. It's planned to implement unit testing in the seminars extension before releasing v0.6.0

Jetzt bookmarken:del.icio.usdigg.comgoogle.comhype it!live.comMa.gnoliaMister Wongstumbleupon.comTechnoratiWinkYiggIt

Hinterlasse eine Nachricht

CAPTCHA Bild zum Spamschutz