In principle it should be possible to develop a testing app (separate from web2py) that reads and performs unittests from web2py apps. It could also create scaffolding tests by looking at existing controllers, forms and redirect by introspection.
Massimo On Mar 30, 11:08 am, Timothy Farrell <[email protected]> wrote: > Yes, it looks more Pythonic than Selenium and slightly more powerful > (there is actually a sleep (time wait) command). I can't wait to test > it out (but I will have to wait for now). > > > > mdipierro wrote: > > we should look into windmill. It really impressed me at PyCon. > > > On Mar 30, 10:39 am, AchipA <[email protected]> wrote: > > >> 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. > > -- > Timothy Farrell <[email protected]> > Computer Guy > Statewide General Insurance Agency (www.swgen.com) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

