I would love to have access to branch coverage.
I tried this by replacing
coverage.start() ... coverage.end()
the_coverage = coverage.coverage(branch=True) the_coverage.start() ... the_coverage.end()
But I just got 0% coverage everywhere then. Presumably I need to do something else while instantiating, or maybe I had some other problem, but I figured you may be able to solve this very quickly and easily. I am not sure if this should be activated by adding an option to
settings.py or by supporting
.coveragerc completely (it seems to be ignored?)