Forums / Developer / UnitTest

UnitTest

Author Message

Ɓukasz Serwatka

Monday 22 November 2004 10:47:18 pm

Hi,

Does eZ crew use UnitTest (elements of XP) for testing classes. Are there any public view for results of this tests. It could be very useful for testing our user handler class. We are working on integration IBP forum with eZ publish.

Thanks for any help or suggestions.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Jan Borsodi

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