JUnit test-suite that processes FreeMarker templates and compare their output to reference files.

To add a test-case, go to src/test/resources/freemarker/test/templatesuite/ and inside that directory:

  1. Add a template to under templates/ with whatever meaningful file name
  2. Add the expected output to references/ with exactly the same file name
  3. Add a new testcase elemen to testcases.xml
  4. If you want to add items to the data-model or do something else special, modify the setUp() method in src/test/java/freemarker/test/templatesuite/TemplateTestCase.java