“”

PHPUnit PHPUnit
phpunit / stable

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

  • 7 LTS
  • 8 LTS

Tags

#phpunit #tdd #selenium #testing #qa #coding #automation #ci

Last upload comment

PHP 7.1 compatibility, requires TYPO3 CMS >= 7.6 now

Downloads by version

Author
Oliver Klee
Last update
12. Oct 2017
First upload
11. Mar 2007
Downloads
48,211
Category
Backend Modules
Dependencies
  • PHP (5.5.0 - 7.1.99)
  • TYPO3 (7.6.0 - 8.7.99)
Manual
Extension Manual
Ideas or problems?
Get in touch
Donate
Donate
Like it?
Sponsor development

Installation

  1. Download ZIP file
  2. Log into your TYPO3 backend
  3. Go to Extension Manager module
  4. Press the upload button on the top bar
  5. Select the ZIP file and upload it. If you want to overwrite an existing extension installation, activate the checkbox.
  1. Download T3X file
  2. Log into your TYPO3 backend
  3. Go to Extension Manager module
  4. Press the upload button on the top bar
  5. Select the T3X file and upload it. If you want to overwrite an existing extension installation, activate the checkbox.

Version history

Version Upload comment Works with TYPO3 Download
4.8.36 / stable
October 12, 2017
PHP 7.1 compatibility, requires TYPO3 CMS >= 7.6 now 7.6.0 - 8.7.99 Download ZIP Archive
4.8.35 / stable
April 20, 2017
Trait for slim functional tests. Last version to work with TYPO3 6.2 6.2.4 - 8.9.99 Download ZIP Archive
4.8.24 / stable
April 23, 2016
TYPO3 CMS 7LTS compatibility and updated PHPUnit package version. 6.2.4 - 7.6.99 Download ZIP Archive
4.7.7 / stable
November 27, 2015
Updated PHPUnit to 4.7.7. Also lots of bug fixes and cleanup. 6.2.4 - 7.4.99 Download ZIP Archive
4.4.0 / stable
December 06, 2014
Compatible with TYPO3 CMS 7.0. Updated PHPUnit to 4.4.0. 6.2.4 - 7.0.99 Download ZIP Archive
4.3.5 / stable
November 27, 2014
Packaged PHPUnit 4.3.5 and vfsStream 1.4.0. TYPO3 CMS 6.2 compatibility. 4.5.0 - 6.2.99 Download ZIP Archive
3.7.22 / stable
July 26, 2013
New PHPUnit and vfsStream, lots of cleanup and bug fixes. 4.5.0 - 6.2.99 Download ZIP Archive
3.6.12 / beta
February 01, 2013
Bug fixes, 6.0 compatibility fixes and cleanup. 4.5.0 - 6.0.99 Download ZIP Archive
3.6.11 / beta
August 19, 2012
Lots of cleanup and small new features. Download ZIP Archive
3.6.10 / beta
April 13, 2012
New PHPUnit version and lots of improvements. Download ZIP Archive
3.5.15 / beta
April 12, 2012
Security fix (without any other changes). Please upload. Download ZIP Archive
3.5.14 / beta
June 21, 2011
New features: testing framework (ported from oelib), Selenium support, working VFS.
3.5.10 / beta
February 12, 2011
Bugfix and cleanup release.
3.5.6 / beta
December 26, 2010
Updated to PHPUnit 3.5.x, added vfsStream, fixed tons of bugs. Now requires TYPO3 4.3.
3.4.12 / beta
April 27, 2010
Bug-fix release. Now Test.php files and the Tests/ directory are properly supported.
3.4.3 / beta
January 05, 2010
Bug-fix release.
3.3.12 / beta
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 ZIP Archive
3.3.11 / beta
March 05, 2009
~ Initialize content object (tslib_cObj) on demand, resolves issue 2767. Download ZIP Archive
3.3.10 / beta
March 05, 2009
* Fix so test cases with uppercase letters in 'TestCase' can be run. Download ZIP Archive
3.3.9 / beta
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 / beta
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 / beta
November 27, 2008
+ Added PHPUnit 3.3.5.
- Removed PHPUnit 3.3.4.
Download ZIP Archive
3.3.6 / beta
November 10, 2008
+ Added PHPUnit 3.3.4.
- Removed PHPUnit 3.3.2.
~ Fix forge bug #1828
(See NEWS file for details).
Download ZIP Archive
3.3.5 / beta
October 20, 2008
* updated to PHPUnit 3.3.2.
* Fix forge #1698: Showing NEWS file from drop-down menu breaks with symlinks.
Download ZIP Archive
3.3.4 / beta
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 ZIP Archive
3.3.3 / beta
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 ZIP Archive
3.3.2 / beta
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 ZIP Archive
3.3.1 / beta
September 24, 2008
+ Added PHPUnit 3.3.1.
- Removed PHPUnit 3.3.0.
Download ZIP Archive
3.3.0 / beta
September 18, 2008
+ Added PHPUnit 3.3.0.
- Removed PHPUnit 3.2.21.
Download ZIP Archive
3.2.21 / beta
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 ZIP Archive
3.2.20 / beta
May 06, 2008
~ Changed hook key in mod1/index.php (by request). Download ZIP Archive
3.2.19 / beta
April 24, 2008
+ Added PHPUnit 3.2.19.
- Removed PHPUnit 3.2.18.
Download ZIP Archive
3.2.18 / beta
April 20, 2008
~ Switched to xhtml-rendering.
* Fixed some typos, code-beautification.
All solved in patch from issue #8173, supplied from Oliver Klee.
Download ZIP Archive
3.2.17 / beta
April 14, 2008
+ Added extension 'oelib' as a suggested install.
~ Updated manual with section on Typo3 unit testing helper classes.
Download ZIP Archive
3.2.16 / beta
April 07, 2008
+ Added possibility to 'hook' which class to run.
~ Re-inserted $backupGlobals = false.
Download ZIP Archive
3.2.15 / beta
April 06, 2008
*Bugfix of 8037: Graphviz fatal error.
~ Removed $backupGlobals=false (see NEWS file for explanation; might be reverted).
Download ZIP Archive
3.2.14 / beta
April 04, 2008
+ Updated to PHPUnit 3.2.18.
* Changes to stylesheet.
Download ZIP Archive
3.2.13 / beta
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 ZIP Archive
3.2.12 / beta
April 02, 2008
Added re-run icon to each test: Clicking it, will re-run that test only. Closes issue #6972 Download ZIP Archive
3.2.11 / beta
March 31, 2008
+ Added file tests/class.tx_phpunit_testsuite.php.
~ Improved test suite finding in Experimental UI.
Thanks goes to Mikkel Ricky.
Download ZIP Archive
3.2.10 / beta
March 31, 2008
- Fix for Windows.
- Fix for mixed case database names.
Download ZIP Archive
3.2.9 / beta
March 31, 2008
+ Moved database tests to tx_phpunit_database_testcase.
* Drops database before trying to create it.
Download ZIP Archive
3.2.8 / beta
March 31, 2008
* Bug fix release. Removed call in mod1/class.tx_phpunit_module1.php to Typo3 4.2 specific function loadJavascriptLib().
Download ZIP Archive
3.2.7 / beta
March 30, 2008
* Bug fix release. Fixes #7964, http://bugs.typo3.org/view.php?id=7964
Download ZIP Archive
3.2.6 / beta
March 29, 2008
+ Updated to PHPUnit 3.2.17.
+ Added extension icons to dropdown boxes.
Download ZIP Archive
3.2.5 / beta
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 ZIP Archive
3.2.4 / beta
March 24, 2008
Experimental support for code coverage reporting and a new progress bar.
Bugfixes all around.
Download ZIP Archive
3.2.3 / beta
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 ZIP Archive
3.2.2 / beta
December 19, 2007
* PHPUnit version string now printed in header.
* Removed white background from CSS file.
(See NEWS file for elaboration).
Download ZIP Archive
3.2.1 / beta
December 17, 2007
* Fixed crash if using shipped PHPUnit, bug 6994.
(See NEWS file for elaboration).
Download ZIP Archive
3.2.0 / beta
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 ZIP Archive
3.1.15 / beta
October 22, 2007
~ Extension test selector now groups the tests under the test suite they are part of.
See Changelog for elaboration).
Download ZIP Archive
3.1.14 / beta
October 20, 2007
Added German translation, thanks to Mario Rimann :-) See Changelog for elaboration. Download ZIP Archive
3.1.13 / beta
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 ZIP Archive
3.1.12 / beta
October 17, 2007
+ Added 'Exclude extensions' option.
See Changelog for elaboration).
Download ZIP Archive
3.1.11 / beta
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 ZIP Archive
3.1.10 / beta
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 ZIP Archive
3.1.9 / beta
October 10, 2007
Download ZIP Archive
3.0.52 / experimental
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 ZIP Archive
3.0.51 / experimental
March 11, 2007
lkjhgrfd sdrg yer yre Download ZIP Archive
3.0.5 / experimental
March 11, 2007
Download ZIP Archive