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

1.3. News

27. March 2008: Version 3.2.5

+ 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 implementation.

Version 3.2.4 (24. March 2008)

+ Experimental support for Code Coverage reporting. Turned of by default, since you need to setup XDebug and it slows down unit testing considerably!

+ Previously there was a total timelimit of 30 seconds. Now the timelimit is per testcase; this is done by inserting a call to set_time_limit(30) in the testlistener.

+ Expanded 'About PHPUnit BE': Added links to bugs.typo3.org and phpunit on typo3xdev.sf.net. Added Søren Soltveit to contributor list. Added test for XDebug extension (needed for code coverage) and test for memory limit, which should be set to something like 256MB, when using code coverage!

+ New (experimental) progressbar: First stab at bugs #6972 and #6975. Turned off by default. Works badly: Overflows to the right, when there are many tests.

- Removed variable addAttrib in SVN revision 8639. Solves issue #7011, http://bugs.typo3.org/view.php?id=7011

~ Upgraded PHPUnit from 3.2.15 to 3.2.16. Changelog: http://www.phpunit.de/wiki/ChangeLog32#PHPUnit3.2.1622-Mar-2008.

~ Use t3lib_div::trimExplode in various places, where it was appropriate.

~ ext_emconf.php: 'Namespace' variables better (in typo3confvars).

~ Added array type hint to function getFirstNonPHPUnitTrace in class tx_phpunit_testlistener.

* Errors are now marked red (instead of yellow). Solves bug #6977, http://bugs.typo3.org/view.php?id=6977.

Version 3.2.3 (18. March 2008)

+ 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 in class database_testcase. Note: You will need to manually install the four extensions named 'aaa', 'bbb', 'ccc' and 'ddd' (they can be found in tests/res/).

~ Upgraded PHPUnit from 3.2.6 to 3.2.15.

~ ext_emconf now states in description that the phpunit extension is based on PHPUnit 3.2 (instead of just PHPUnit 3).

* (Temporary) fix for issue #7631, http://bugs.typo3.org/view.php?id=7631#c19761, courtesy Mario Rimann.

Version 3.2.2 (19. December 2007)

~ Changed header in BE module: It now writes the version string from the PHPUnit currently in use. This makes it easier to verify that the correct version is used. Closes http://bugs.typo3.org/view.php?id=6985

* Removed white background from phpunit-be.css.

* Changed path in ext_localconf.php to uppercase. Solves problem, where using the shipped PHPUnit did not work on systems where upper case / lower case is respected (e.g. Linux systems).

Version 3.2.1 (17. December 2007)

* Moved shipped PHPUnit to a PHPUnit sub-directory of PHPUnit-3.2.6. Closes http://bugs.typo3.org/view.php?id=6994.

~ Changed manual: 'Changelog' section renamed to 'News'.

* Re-introduced suggestion of pear extension in ext_emconf.php (to comply with the ECT effort).

Version 3.2.0 (17. December 2007)

~ Bumped version number, since phpunit now ships with PHPUnit version 3.2.6

+ Added a NEWS file, which holds the info which was previously in the Changelog file.

~ Changed the Changelog file to hold Subversion commits. This is meant to be added by a pre-commit hook on svn, when extension development is moved to typo3xdev.sf.net.

Version 3.1.15 (22. October 2007)

~ Extension test selector now groups the tests under the test suite they are part of (Usability request from Elmar Hinz of the ECT).

Version 3.1.14 (17. October 2007)

+ Added German translation, thanks to Mario Rimann :-)

Version 3.1.13 (17. October 2007)

+ Option to use extension pear as default. If PHPUnit is not installed via pear, then phpunit uses its own PHPUnit version as fallback. (proposal from Extension Coordination Team, ECT).

+ Added info to 'About' if 'use pear' is set, but pear is not loaded. Defaults to phpunit provided PHPunit in that case (instead of just aborting).

Version 3.1.12 (17. October 2007)

+ Added 'Exclude extensions' option in extension manager setup. This allows you to set extension that phpunit should never search for tests (also applies to 'out of line'-paths).

+ Added info about currently excluded extensions to 'About phpunit BE' submodule.

Version 3.1.11 (17. October 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.

Version 3.1.10 (15. October 2007)

+ Added 'out-of-line' tests: These are tests that are now in the extension itself, but found on a path you give in the extension manager.

+ Added information notice to eAccelerator 0.9.5.1 users about optimizer bug in eAccelerator.

+ Added 'Contributors' section to About box.

+ Fully translated into danish (except for the texts coming from PHPUnit).

+ Added stylesheet file, phpunit-be.css.

~ Changed layout of test runs to make them more easily readable.

~ Changed the two failing tests, that comes with phpunit: Now they give a message that they are meant to fail.

~ Factored out inline styles on elements (now controllable from phpunit-be.css).

* Corrected display of failure notices from failed tests: Assertion types/values are shown again.

* Corrected logo image display in About box.

Version 3.1.9 (10. October 2007)

  1. Added 'include_path' output to the 'About' sub-module. This can be used to check where the extension is looking for PHPUnit.

  2. Added extension manager configuration option to point to another PHPUnit, than the one provided by the extension (could be a PEAR installed PHPUnit).

  3. Added PHPUnit version 3.1.9

  4. Removed PHPUnit version 3.0.5

  5. Changed to using Typo3 v. 4.1.x feature of mod.php for the backend module, cf.  http://typo3.org/documentation/document-library/core-documentation/doc_core_inside/4.1.0/view/3/5/#id3561091

  6. Changed extension version number to 3.1.9.

  7. Changed state to beta.

  8. Changed ChangeLog Legend and updated the complete file to reflect this.

  9. Corrected the way the lib is found: Now you only have do do it in one place. Note that PHPUnit is expected to be in a sub-directory called 'PHPUnit' of the place you write.

  10. Corrected the progressbar, so now it stays within the browser window (Thanks to Mikkel Ricky for the fix :-)

  11. Corrected a bug, where an error about class tx_t3unit_testcase was spewed (Thanks to Mario Rimann for pointing out and Mikkel Ricky for fixing).

Version 3.0.52 (13. March 2007)

  1. Added class tx_t3unit_testcase for providing backwards compatibility with t3unit (suggested by Robert Lemke).

  2. Added t3unit and pear_phpunit2 to conflicts in file ext_emconf.php (suggested by Robert Lemke).

  3. Corrected depends in file ext_emconf.php (suggested by Robert Lemke)

  4. from: 'php' => '5.2.1-0.0.0', 'typo3' => '4.1-0.0.0',

  5. to: 'php' => '5.2.1-', 'typo3' => '4.1-',

  6. Corrected paragraph in manual about version numbering convention to match reality (I hope!).

  7. Changed version number in file ext_emconf.php to 3.0.52.

Version 3.0.51 (11. March 2007)

  1. Added tests/ directory to phpunit itself.

  2. Added test file in tests/ directory (test file includes only dummy tests).

  3. Bumped version number to 3.0.5-1.

  4. Added 'Legend' to Changelog file.

Version 3.0.5 (11. March 2007)

  1. Ported PHPUnit 3.0.5 to the extension.

  2. Ported the T3Unit and PEAR_phpunit extensions to PHPUnit 3.0.5.

  3. Merged T3Unit and PEAR_phpunit extensions and changed strings throughout.