Ned Batchelder
Ned Batchelder
@pckroon The new context feature in 5.0a3 might be usable for this: https://nedbatchelder.com/blog/201810/who_tests_what_is_here.html
Definitely option 2 could be done now. If you use 5.0a3, you can delete the recorded data for the empty context, and then report on what is left.
There's been no progress on this. Do you have a new scenario that could help us find a solution?
With static contexts, you could run the test suite once with no tests and `--context=background`. Then run the tests with `--context=tests`. Then there are two options: - Run a separate...
> Run a separate program to delete the "background" context data from the SQLite data file, and report as usual. In commit 6a1c275b94818ccef91481ab01d0eb000906967a I threw together a quick program to...
Discussion about this in the Sonar forums: https://community.sonarsource.com/t/codecoverage-not-showing-in-sonarcloud-in-a-python-project/53298
I don't have those failures. What version of Python are you using? Is there a reason you aren't using pytest to run the tests? It will give more details on...
I don't understand why the traceback would be different than expected. This test passes in many environment, including Ubuntu, which is based on Debian. Is Debian somehow interfering with error...
Thanks, I've changed all the file opening to use `with` (including a few more than you found). I would still like to understand why your traceback looks different. I understand...
I don't think I will be able to install bookworm, and I don't know Debian well enough to update debian/rules. The more details you can provide, the more likely we...