Friday 26 November 2004 12:15:24 am
Hi, Yes, we use Unit testing for some of our classes, e.g. for the template compiler. We also have a PHP shell script to run all the various tests and show the result.
Currently this unit test system is only bundled with the unstable releases (alpha, beta, rc), but if there is much interest we could probably find a way to package this. If you have an unstable release you can look in the <i>tests</i> subdirectory of it and you will find our current tests and the test framework. e.g.
./tests/testunits.php eztemplate
--
Amos
Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq
|