This package contains abstract JUnit TesCase classes that should be used to Test Driven Develop (TDD) new plugins.
Depending on what kind of output is generated, the following test cases should be extended:
Type of generated output | TestCase to extend | Plugin to extend |
---|---|---|
Java sources | AbstractJavaGeneratingPluginTestCase | VelocityPlugin |
XML files | AbstractXMLGeneratingPluginTestCase | JellyPlugin |
Text files | AbstractTextGeneratingPluginTestCase | VelocityPlugin |
(Although JellyPlugin is recommended for generation of XML, it is possible to generate XML with VelocityPlugin subclasses. In that case, you should use AbstractXMLGeneratingPluginTestCase to test the output.)