RapidApp
RapidApp copied to clipboard
Unit tests for Template::Controller sub system
Using RapidApp::Test
, unit tests need to be written to verify the correct functionality of the Template::Controller system
- Create a new template
- Modify a template
- delete a template
- Create a template with an INCLUDE directive of another template, and verify the returned compiled content
- Verify expected exception when saving a template with a TT syntax error
- Verify expected exception when attempting each of 4 CRUD phases on a template when user lacks permission
- Verify correct template content for both normal and admin templates
- Verify correct functionality with a custom Access class