[TIP] Combining coverage from behave and pytest
André Caron
andre.l.caron at gmail.com
Thu Sep 13 06:32:19 PDT 2018
Hi there,
I just started experimenting with BDD using behave. Since I use both
pytest and behave in the same project (for different things), I was hoping
to combine their code coverage.
This works pretty well, but I hit what seems to me like a Windows-specific
bug when accumulating coverage. I reported the issue on the GitHub
repository for coverage [1]. I have a full repro [2] and a temporary
workaround [3].
I was wondering if someone else hit a similar issue on other projects or if
someone could offer advice on how to troubleshoot this?
Thanks!
André
[1]: https://github.com/nedbat/coveragepy/issues/704
[2]: https://github.com/AndreLouisCaron/coverage-behave-pytest
[3]: https://github.com/AndreLouisCaron/coverage-behave-pytest/pull/2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20180913/3d6ca4b2/attachment.html>
More information about the testing-in-python
mailing list