[commits] [Wiki] created: Doc/Dev/Component/Horde_Test
Wiki Guest
wikiguest at horde.org
Thu Jun 9 12:58:04 UTC 2011
guest [92.231.157.234] Thu, 09 Jun 2011 12:58:04 +0000
Created page: http://wiki.horde.org/Doc/Dev/Component/Horde_Test
+ Anatomy of a Horde test suite
++ Introduction
The Horde Project has always had high standards when it comes to code
quality. Of course these standards evolved with time and also with the
progress the PHP community made. The code from
[ftp://ftp.horde.org/pub/imp/imp-1.0.0.tar.gz IMP-1.0.0 (1998)] didn't
come with unit tests. And somehow it lacked classes. And there is an
awful lot of code mixed with HTML. Somehow this looks horribly like
PHP3.
Oh, it **was** PHP3.
Of course PHP development changed over time and so did the Horde
project. Nowadays each and every commit into [http://git.horde.org our
repository] leads to the automatic execution of thousands of unit
tests written by the Horde developers and they check our code for
failures. Night and day [http://ci.horde.org our continuous
integration server] broadcasts the current test status to us in
particular but also to anyone else interested.
With the release of Horde 4 the test suite structure of the Horde
components available via [http://pear.horde.org our PEAR server] look
all very similar. There are certain Do's and Don'ts and a lot of
playground in between. Often the ``Horde_Test`` component is involved.
So it makes sense to associate the overview on the anatomy of Horde
test suites with this particular module.
++ Filesystem structure of a test suite
... to be continued ...
More information about the commits
mailing list