RapidApp icon indicating copy to clipboard operation
RapidApp copied to clipboard

Unit tests for Template::Controller sub system

Open vanstyn opened this issue 10 years ago • 0 comments

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

vanstyn avatar Jan 19 '15 21:01 vanstyn