[TIP] coverage.py against a server

Lucian Ciufudean lucian.ciufudean at gmail.com
Tue Sep 17 04:42:04 PDT 2013


Hi guys,

I embarked on the road of obtaining a coverage report for functional tests
against a server process. The server is deployed as .pyc files, and the
source files can be made available in a separate subversion working folder.
I wouldn't want to edit any existing .py files.

Can coverage work with .pyc files - I am getting errors when using coverage
run main.pyc from the command line, so maybe with the API?
I tired this also, my custom code is run but it can not find the source
files at the time of coverage.html_report() although I passed the directory
of source files to coverage.coverage.

Thanks a lot,
Lucian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20130917/5f69ebcc/attachment.html>


More information about the testing-in-python mailing list