Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests for Template::Controller sub system #112

Open
vanstyn opened this issue Jan 19, 2015 · 0 comments
Open

Unit tests for Template::Controller sub system #112

vanstyn opened this issue Jan 19, 2015 · 0 comments

Comments

@vanstyn
Copy link
Owner

vanstyn commented Jan 19, 2015

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant