[TIP] Coverage of application which doesn't end by itself
dstanek at dstanek.com
Thu Jun 16 05:30:10 PDT 2016
On Wed, Jun 15, 2016 at 11:38 PM Li, Xiaoyan <xiaoyan.li at intel.com> wrote:
> Anyone kindly gives me any suggestions how to check code coverage like
> above test.py?
I've used the coverage API in webapps to record coverage in very long
running processes. I would write coverage data when someone authenticated
against a /dump_coverage endpoint. This allowed me to run a series of tests
and then dump the coverage for those tests.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python