[TIP] Can coverage.py be used to collect coverage data for Functional or integration tests?

Florian Bruhin me at the-compiler.org
Thu Mar 2 01:24:05 PST 2017


* Rachit Sinha <rachit.sinha at nutanix.com> [2017-03-02 09:17:12 +0000]:
> For eg – Framework binary file is – agave. So we run like this –
> 
> Agave <tests> <test_args> <other_options>
> 
> My question is how do I invoke it from coverage.py?

So run  coverage run Agave ...  instead.

> The tests are designed in such a way that they can only run inside
> the framework. Python compiler is not enough to run them.

I bet you could e.g. write a pytest plugin to run them instead ;)

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20170302/0b2b320a/attachment.pgp>


More information about the testing-in-python mailing list