[TIP] Can coverage.py be used to collect coverage data for Functional or integration tests?
Rachit Sinha
rachit.sinha at nutanix.com
Thu Mar 2 01:29:37 PST 2017
Thanks a lot Florian for your help. Much appreciated ☺
I will try the below suggestions and will get back if I have any more queries.
Rachit
On 02/03/17, 2:54 PM, "Florian Bruhin" <me at the-compiler.org> wrote:
>* 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/
More information about the testing-in-python
mailing list