While writing some unittests for my controllers, it occured to me that
it would be pretty handy to have a unittest like thing for views. So,
the use-case would be to construct a controller response (even
manually if it's easier) and then preview the template with the given
test data. I'm a bit unsure about how such a thing could be properly
validated, but IMO it sure would speed up view development. Of course
you can do this already by making dummy controllers specifically for
this purpose, I'm just thinking that maybe it could be made more
elegant.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to