James, Thank you for bringing up this very important issue.
I have been setting up a continuous integration environment using open source software (Jenkins) as well as some tutorials, in the manner of the ruby koans package. If you're interested, there are 3 repos right now (They are very rough -- I will be updating them very much in the next two weeks): https://bitbucket.org/MarkGraves/pytest_bdd_koans https://bitbucket.org/MarkGraves/pytest_koans https://bitbucket.org/MarkGraves/web2py_pytest_koans They will include both unit testing as well as behavior driven development for user acceptance testing (introduced to me by Jay Martin -- also a web2py developer) Also, Vinicius created a framework for testing web2py applications. Here is a link to my fork of it, which patches a small issue with speed that Vinicius and I are engaged on. https://github.com/gravesmedical/web2py.test Also, here is a link to a resource introducing BDD http://www.manning.com/smart/ Unfortunately, the examples are mostly in java. Jay and I have been working on creating versions for python. Feel free to PM me if you'd like to discuss these topics in further detail. -Mark On Wednesday, February 4, 2015 at 9:10:31 PM UTC-6, James O' Driscoll wrote: > > > I am currently working on creating tests for my default controller, I have > found a few articles relating to web2py and unit testing, but not many. > > I have two questions: > > 1. Any recommendations for good resources available to help create tests > for web2py. > > 2. Is there a doctest/unit test available for the appadmin controller. > > Regards, > > James > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.