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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to