Hi, As I was developing a generator I was trying to write a JUnit TestCase for this Generator. I came to the conclusion that without a working cocoon.xconf, and a sitemap for the testcases, testing the generator is useless. Moreover for writing tests for other cocoon components some testing framework might be useful anyway.
Thus some questions and suggestions: * create a dir /test, * write testcases in /test/src/java<package-name>/<classname>TestCase.java, e.g.: /test/org/apache/cocoon/components/generation/test/SearchGeneratorTestCase.java * junit xml-reports are written to /test/reports * test case configuration is put into /test/conf, eg for SearchGeneratorTest the configuration files are located in /test/conf/org/apache/cocoon/components/generation/SearchGenerator.xconf, and /test/conf/org/apache/cocoon/components/generation/SearchGenerator.xmap. * Each JUnit test is setUp with its corresponding xconf/xmap configuration. Are there any other ideas? bye bernhard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]