I've read about web2py and unit testing and I tried many things.
These are my thoughts (please correct me If I am wrong)
1. web2py uses doctests. doctests must be inside the controller
(increasing the noise) and are not flexible. Also, is not trivial to
use them in another automated built/test
Are we looking at the same thing?
The link you provided gives an example of using the unittest classes
(not doctest), in which you can import anything you want since it is
just a python file.
In the example is an example of executing your controllers in a web2py
environment.
Also the doctest
2 matches
Mail list logo