amiller / HoneyBadgerBFT

The Honey Badger of BFT Protocols
Other
314 stars 84 forks source link

[test:coverage] measure branch coverage #40

Closed sbellem closed 6 years ago

sbellem commented 7 years ago

In addition to the usual statement coverage, coverage.py also supports branch coverage measurement. Where a line in your program could jump to more than one next line, coverage.py tracks which of those destinations are actually visited, and flags lines that haven’t visited all of their possible destinations.

-- coverage.py docs: http://coverage.readthedocs.io/en/coverage-4.5.1/branch.html

sbellem commented 6 years ago

Closing as this was taken care of in https://github.com/amiller/HoneyBadgerBFT/commit/7817679a0fcec327781026d1bc5da87f8e3d20a9