Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.2. History

This extension is based on the extension t3unit and pear_phpunit2, both by Robert Lemke. T3Unit provided the back-end module and required PHPUnit version 2 to be installed; either as a part of the PHP installation or via the pear_phpunit2 extension. The phpunit extension provides both a back-end module and the PHPUnit version 3 framework.

Backwards compatibility with t3unit

The preferred way is to subclass tx_phpunit_testcase. For the sake of backwards compatibility, the phpunit extension provides the class tx_t3unit_testcase (which is identical to tx_phpunit_testcase). Since there are several unit-testing frameworks for PHP it makes to most sense to name the class phpunit, to communicate that this is the framework used (and not some specially crafted Typo3 framework.