- espaan responded to »Links for Categories in Content« 09:31 AM
- HalbrookTech responded to »Flash Slideshow in Andreas08 Theme Header - LOAD FAIL« 08:58 AM
- espaan responded to »PN 0.764 to Zikula 1.1.2 (migration) Internal Server Error« 07:18 AM
- Paustian responded to »Clip & Form validation« 02. Feb
- ccandreva responded to »PostWrap for zikula 1.2.8« 02. Feb
- kmorrise responded to »IE CSS hack« 28. Jan
- MarcPare responded to »Remove "CoZi" and replace with "gitHub"?« 27. Jan
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
News
Articles: ZkUnit 1.0 and DebugToolbar 1.0 released
ZkUnit allows developers to write Unit and UI tests, while DebugToolbar shows a small toolbar (like the Symfony one) on the upper right side of the web page.
ZkUnit
This module has been created during the development of TimeIt because I wanted to write automated tests. The module uses PHPUnit in the background and extends it by a own implementation of fixtures (description of the test data). Transactions are used to put back the changes made by the tests continuously again. With Selenium (UI tests) the tests can also be done via browser.
Tests can be performed via web interface, command line or Netbeans. Some people might noticed that it requires a little more special environment. ZkUnit requires PHP5 with a memory_limit of at least 100 MB (perhaps also more (300-500 MB)). MySQL users must use InnoDB insted of MyISAM as table engine (all tables in an installation must use InnoDB). InnoDB because it supports transactions.
The Wiki on the project site contains a documentation (I hope you understands what I have written.). If someone would like to see some real tests, have a look at the TimeIt (SVN).
Web interface that allows you to run tests
Web interface which displays the results of the tests (only for tests run by the web interface)
Project site: http://code.zikula.org/zkunit
Download: http://code.zikula.org/zkunit/downloads
DebugToolbar
This module shows a small toolbar on the upper right side of the web page (see the pictures further on top). This tool bar shows various things: Modulevars of the current module, used memory of PHP, page render time and executed SQL-Queries. I've primarily wrote this module because of the SQL-Queries. Zikula can display the Queries, but they will be displayed at the bottom of the website and are even hidden by some Themes. If you switch on the adodb-logging the whole website would be broken. DebugToolbar does not have all these problems.
Project site: http://code.zikula.org/zkunit (same as ZkUnit)
Download: http://code.zikula.org/zkunit/downloads


Comments
Comment by:
dits
20 Aug 2009 - 08:59AM
Haven't 'tested' ZkUnit, but it sounds great! Looking forward to exploring this.