You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andreas Hartmann <an...@apache.org> on 2009/02/11 11:49:06 UTC
[2.2] Test configuration
Hi Cocooners,
according to http://cocoon.apache.org/636_1_1.html, for each unit test
class one or two configuration files (.spring.xml and/or .xtest) have to
be created. This works, but since the files contain a lot of boilerplate
declarations (roles, source factories etc.) a lot of redundant code is
created. At least the .spring.xml files can work with includes, so one
can collect the declarations in a single file. But I don't know if the
.xtest files support something simliar.
Is it really necessary to create these files for each and every test class?
TIA for any hints!
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org