[TIP] Need your help with functional test code coverage

Ned Batchelder ned at nedbatchelder.com
Mon Oct 12 03:03:47 PDT 2015


In addition to making sure subprocesses start coverage, you have to 
ensure that your processes end cleanly.  Web servers are often meant to 
run "forever", so you may need to create a way for them to finish and 
write their data.

--Ned.

On 10/6/15 8:56 PM, Khashayar Delrooz wrote:
> Hi,
> We are running our python services written in django and bottle via 
> mod_wsgi and apache. Is there a way to plug coverage in, so that we 
> can generate coverage reports when we run functional tests?
> We tried the instructions mentioned in 
> http://coverage.readthedocs.org/en/latest/subprocess.html?highlight=pth#configuring-python-for-sub-process-coverage 
> <http://coverage.readthedocs.org/en/latest/subprocess.html?highlight=pth#configuring-python-for-sub-process-coverage> but 
> that did not help.
>
> Any help is appreciated.
>
>
> Thanks,
> Khasha
>
>
>
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20151012/a3309b60/attachment.html>


More information about the testing-in-python mailing list