It supports nosetests which includes a coverage plugin. I will look
into adding the option stand-alone so you do not need nosetests.

The problem is that there is no way to determine how much "coverage"
you have in a web2py app. It will include the coverage of "gluon + all
apps", which is not what you want I don't think. I have attempted and
do not see any way around this, it is a limitation in web2py that will
now allow for proper coverage testing.

The requirements for the script are:

A) Source installation of web2py, given how it must execute and locate
test files
B) A runner script to actually start the tests. Since it relies on the
path to [A]

--
Thadeus





On Wed, May 5, 2010 at 11:07 AM, Jonathan Lundell <[email protected]> wrote:
> On May 5, 2010, at 8:59 AM, Thadeus Burgess wrote:
>
>> I am about to post a unittesting module as part of web2py_utils, it
>> takes out all needed configurations for unittesting and makes it dead
>> simple.
>
> Looking forward to it.
>
> Consider adding support for coverage; it's pretty easy to call.
>
> http://nedbatchelder.com/code/coverage/
>

Reply via email to