Its not always enough and possible to use inline run, but indeed helps for pytest-cov On Apr 17, 2015 11:34 PM, "Eduardo Schettino" <[email protected]> wrote:
> Thanks, I solved my problem using testdir.inline_run(). > > The lack of output doesnt matter because I can use TestReport objects... > > cheers > > On Sat, Apr 18, 2015 at 3:38 AM, Anatoly Bubenkov <[email protected]> > wrote: > >> Yes i had the same issue and solved it by avoiding pytest-cov. >> See pytest-splinter and its tox.ini coveralls testenv. >> On Apr 17, 2015 8:39 PM, "Eduardo Schettino" <[email protected]> >> wrote: >> >>> Hi, >>> >>> I am using the pytester plugin to test my own plugin. >>> >>> It works ok but I can not get code coverage because testdir.runpytest >>> uses os.popen(). >>> Have anyone managed to work around that? Can you point me to a >>> project/plugin that handles that? >>> >>> cheers, >>> Eduardo >>> >>> _______________________________________________ >>> pytest-dev mailing list >>> [email protected] >>> https://mail.python.org/mailman/listinfo/pytest-dev >>> >>> > > _______________________________________________ > pytest-dev mailing list > [email protected] > https://mail.python.org/mailman/listinfo/pytest-dev > >
_______________________________________________ pytest-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/pytest-dev
