{Expander}Test
An ExpanderExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. contains two test files:
- An
{Expander}Test.javafile, which contains the unit tests. - An
{Expander}Test.stgfile, which contains templates used by the unit tests.
This documentation section explains
- how to build models for test files.
- the use of the Onion Specs API to define test models in a compact way.
- the library Expanders Assert to test ExpandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. and Features.
The developer guide provides a guide on debugging expanders as well.