Closed sbellem closed 7 years ago
Merging #35 into dev will decrease coverage by
1.16%
. The diff coverage is100%
.
@@ Coverage Diff @@
## dev #35 +/- ##
==========================================
- Coverage 58.96% 57.79% -1.17%
==========================================
Files 18 18
Lines 943 943
==========================================
- Hits 556 545 -11
- Misses 387 398 +11
Impacted Files | Coverage Δ | |
---|---|---|
honeybadgerbft/core/reliablebroadcast.py | 70.5% <100%> (ø) |
:arrow_up: |
honeybadgerbft/core/commonsubset.py | 70.96% <0%> (-19.36%) |
:arrow_down: |
honeybadgerbft/core/binaryagreement.py | 79.22% <0%> (-9.1%) |
:arrow_down: |
honeybadgerbft/core/honeybadger.py | 88.46% <0%> (+1.92%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update cb69dbd...3e1a104. Read the comment docs.
Very compelling, good catch thanks!
See failed test for
(N=5, f=1)
at https://travis-ci.org/amiller/HoneyBadgerBFT/builds/268545803#L1923Note about usage of
pytest
I decided to use
pytest
to showcase some of its powers. That is barely scratching the surface, but yet the parametrization capabilities ofpytest
are very useful and can save considerable development time.I suspect that something similar can be achieved with
nose2
but I didn't have enough time to look into it.When I have time I can write the test with
nose2
parametrization approach.