Outdated extensions
Outdated extension are hidden by default. You can access them by clicking on the checkbox "Show outdated extensions" in the filter dropdown of the Extension repository search form.

PHPUnit

PHPUnit

Unit testing for TYPO3. Includes PHPUnit 3.7, Selenium, a BE test runner module, a CLI test runner, PhpStorm integration and a testing framework.

 

TYPO3 version support

This version works for TYPO3 4.5.0 - 6.2.99
If you look for other TYPO3 versions, click the "Download" tab to get a history of all extension versions.

Last upload comment

New PHPUnit and vfsStream, lots of cleanup and bug fixes.

Downloads by version

Other extensions from extension owner

Extension key phpunit
Version 3.7.22 stable
Last updated July 26, 2013
First upload March 11, 2007
Downloads 14,182
Category Backend Modules
Dependencies
  • PHP (5.3.0)
  • TYPO3 (4.5.0 - 6.2.99)
Conflicts none
Manual Extension Manual
Interested in code? Check quality
Username oliklee
Author Oliver Klee
Oliver Klee

Download current version 3.7.22

Version history

3.6.12
February 01, 2013
Bug fixes, 6.0 compatibility fixes and cleanup.
Supports TYPO3 version 4.5.0 - 6.0.99
Download T3X Package
3.7.22
July 26, 2013
New PHPUnit and vfsStream, lots of cleanup and bug fixes.
Supports TYPO3 version 4.5.0 - 6.2.99
Download T3X Package
3.6.12
February 01, 2013
Bug fixes, 6.0 compatibility fixes and cleanup.
Supports TYPO3 version 4.5.0 - 6.0.99
Download T3X Package
3.6.11
August 19, 2012
Lots of cleanup and small new features. Download T3X Package
3.6.10
April 13, 2012
New PHPUnit version and lots of improvements. Download T3X Package Download ZIP Archive
3.5.15
April 12, 2012
Security fix (without any other changes). Please upload. Download T3X Package
3.5.14
June 21, 2011
New features: testing framework (ported from oelib), Selenium support, working VFS.  
3.5.10
February 12, 2011
Bugfix and cleanup release.  
3.5.6
December 26, 2010
Updated to PHPUnit 3.5.x, added vfsStream, fixed tons of bugs. Now requires TYPO3 4.3.  
3.4.12
April 27, 2010
Bug-fix release. Now Test.php files and the Tests/ directory are properly supported.  
3.4.3
January 05, 2010
Bug-fix release.  
3.3.12
May 23, 2009
+ Run all tests of a test case. + Show skipped tests and total assertions after a run. A big thanks goes to Michael Klapper. (See NEWS file for elaboration and details). Download T3X Package
3.3.11
March 05, 2009
~ Initialize content object (tslib_cObj) on demand, resolves issue 2767. Download T3X Package
3.3.10
March 05, 2009
* Fix so test cases with uppercase letters in 'TestCase' can be run. Download T3X Package
3.3.9
March 03, 2009
Test cases can now end in "TestCase". Unit tests in drop-down box sorted by classnames for improved overview. Fix background color of drop-down box. (See NEWS file for details)  
3.3.8
February 25, 2009
Fixes to work with upcoming TYPO3 4.3 release. Updated to PHPUnit 3.3.15. - Several other fixes, see NEWS file for changes.  
3.3.7
November 27, 2008
+ Added PHPUnit 3.3.5. - Removed PHPUnit 3.3.4. Download T3X Package
3.3.6
November 10, 2008
+ Added PHPUnit 3.3.4. - Removed PHPUnit 3.3.2. ~ Fix forge bug #1828 (See NEWS file for details). Download T3X Package
3.3.5
October 20, 2008
* updated to PHPUnit 3.3.2. * Fix forge #1698: Showing NEWS file from drop-down menu breaks with symlinks. Download T3X Package
3.3.4
October 19, 2008
* Buttons to show/hide success, failure and errors. * Button to turn code coverage collection on/off. * Access keys for running tests. Many small changes and fixes, cf. the NEWS file. Download T3X Package
3.3.3
October 01, 2008
+ Display the leaked memory after the tests. Closes forge #1627. Note that this measurement is only indicative; it will be tried out now, but is the utility is limited, then it will be removed or turned into an option. Download T3X Package
3.3.2
September 27, 2008
+ Added links to forge.typo3.org. * Add the colored bar even when executing single tests. Closes forge #1594. * Javascript for experimental progress bar executed although the option is disabled. Closes forge #1595. * Error when calling non-existing t Download T3X Package
3.3.1
September 24, 2008
+ Added PHPUnit 3.3.1. - Removed PHPUnit 3.3.0. Download T3X Package
3.3.0
September 18, 2008
+ Added PHPUnit 3.3.0. - Removed PHPUnit 3.2.21. Download T3X Package
3.2.21
September 08, 2008
* Fixed bug where You could be stuck with 'Extension key NOT loaded [...]'. * Solved Forge issues #1316, #1317 and #1320. * Thanks goes to Niels Pardon and Oliver Klee. (See NEWS file for details). Download T3X Package
3.2.20
May 06, 2008
~ Changed hook key in mod1/index.php (by request). Download T3X Package
3.2.19
April 24, 2008
+ Added PHPUnit 3.2.19. - Removed PHPUnit 3.2.18. Download T3X Package
3.2.18
April 20, 2008
~ Switched to xhtml-rendering. * Fixed some typos, code-beautification. All solved in patch from issue #8173, supplied from Oliver Klee. Download T3X Package
3.2.17
April 14, 2008
+ Added extension 'oelib' as a suggested install. ~ Updated manual with section on Typo3 unit testing helper classes. Download T3X Package
3.2.16
April 07, 2008
+ Added possibility to 'hook' which class to run. ~ Re-inserted $backupGlobals = false. Download T3X Package
3.2.15
April 06, 2008
*Bugfix of 8037: Graphviz fatal error. ~ Removed $backupGlobals=false (see NEWS file for explanation; might be reverted). Download T3X Package
3.2.14
April 04, 2008
+ Updated to PHPUnit 3.2.18. * Changes to stylesheet. Download T3X Package
3.2.13
April 04, 2008
* Bugfix: Moved setting of $backupGlobals to tx_phpunit_testcase.php. This fixes a 'Fatal Error' on Windows. Thanks goes to Morten Lovbjerg. Download T3X Package
3.2.12
April 02, 2008
Added re-run icon to each test: Clicking it, will re-run that test only. Closes issue #6972 Download T3X Package
3.2.11
March 31, 2008
+ Added file tests/class.tx_phpunit_testsuite.php. ~ Improved test suite finding in Experimental UI. Thanks goes to Mikkel Ricky. Download T3X Package
3.2.10
March 31, 2008
- Fix for Windows. - Fix for mixed case database names. Download T3X Package
3.2.9
March 31, 2008
+ Moved database tests to tx_phpunit_database_testcase. * Drops database before trying to create it. Download T3X Package
3.2.8
March 31, 2008
* Bug fix release. Removed call in mod1/class.tx_phpunit_module1.php to Typo3 4.2 specific function loadJavascriptLib(). Download T3X Package
3.2.7
March 30, 2008
* Bug fix release. Fixes #7964, http://bugs.typo3.org/view.php?id=7964 Download T3X Package
3.2.6
March 29, 2008
+ Updated to PHPUnit 3.2.17. + Added extension icons to dropdown boxes. Download T3X Package
3.2.5
March 27, 2008
+ Added new UI for running tests: You will need to set the new option ' Experimental test interface' in the Extension Manager (EM). This adresses issue #6965, http://bugs.typo3.org/view.php?id=6965. Thanks to Mikkel Ricky who provided the new implementat Download T3X Package
3.2.4
March 24, 2008
Experimental support for code coverage reporting and a new progress bar. Bugfixes all around. Download T3X Package
3.2.3
March 18, 2008
Version 3.2.3 + New helper functions in tx_phpunit_testcase: You can now use the Typo3 database from your tests. E.g. for creating new tables for your tests. Reminder: Never run tests in a production environment. + Tests for new helper functions added Download T3X Package
3.2.2
December 19, 2007
* PHPUnit version string now printed in header. * Removed white background from CSS file. (See NEWS file for elaboration). Download T3X Package
3.2.1
December 17, 2007
* Fixed crash if using shipped PHPUnit, bug 6994. (See NEWS file for elaboration). Download T3X Package
3.2.0
December 17, 2007
Moved to typo3xdev.sf.net and has a bugtracker entry, tx_phpunit. Upgraded shipped PHPUnit to ver. 3.2.6. (See NEWS file for elaboration). Download T3X Package
3.1.15
October 22, 2007
~ Extension test selector now groups the tests under the test suite they are part of. See Changelog for elaboration). Download T3X Package
3.1.14
October 20, 2007
Added German translation, thanks to Mario Rimann :-) See Changelog for elaboration. Download T3X Package
3.1.13
October 17, 2007
+ Option to use extension pear as default. + Now suggests extension pear during install. + Updated manual with info on using phpunit with pear. (See Changelog for elaboration) Download T3X Package
3.1.12
October 17, 2007
+ Added 'Exclude extensions' option. See Changelog for elaboration). Download T3X Package
3.1.11
October 17, 2007
* Two identically named tests in different testsuites are now distinguished. * Having the same extension installed as both local and global now works: Tests in the active one is run. See ChangeLog for elaboration. Download T3X Package
3.1.10
October 15, 2007
- Added 'out-of-line' tests. - Added information notice about eAccelerator. - Fully translateable (english and danish). - Improved layout of test-results. See Changelog for elaboration. Download T3X Package
3.1.9
October 10, 2007
Download T3X Package
3.0.52
March 13, 2007
+ Added class tx_t3unit_testcase for backwards compatibility with t3unit. + Added t3unit and pear_phpunit2 to conflicts. * Corrected depends in file. * Corrected manual about version numbering convention. * Changed version number to 3.0.52. Download T3X Package
3.0.51
March 11, 2007
lkjhgrfd sdrg yer yre Download T3X Package
3.0.5
March 11, 2007
Download T3X Package
Back to Extension List