After reorganizing the code such that all the tests are located back in the
same project, setting up the running of tests in-tree, and using the
unittest module directly, there's been much success! Automatically suffixed
.coverage files are generated per test case and merged at the end (keeping
open the possibility of process-level parallelism later). The coverage
report at the end after invoking `coverage combine` on the command line is
as expected. There's a strange caveat, though: using the coverage.py API
and calling 'coverage.Coverage().combine()' following the test runs erases
the Cython coverage data from the .coverage files. I haven't poked at it
much yet, as this is only a papercut for us, but if it's an issue with the
Cython plug-in, I figure y'all ought to know.

Thanks again!
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to