-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
100% test coverage in consensus package #130
Comments
Hi @lukechampine i have raised a minor PR to increase coverage for |
Here's a listing of the remaining uncovered code, with my suggestions on how to write a test for them:
I know this seems like a lot, but many of them just need a trivial test case, and many others have substantial overlap (e.g. two good tests for v1 and v2 contracts would add a ton of coverage). For absolute beginners/newcomers, I recommend starting with |
Even 100% coverage doesn't guarantee your code is bug-free, but it's certainly a great first step. Let's try to reach 100% coverage in
consensus
, testing every single edge case. :)Any increase in test coverage, even 1%, qualifies for our Hacktoberfest event, so don't be shy!
The text was updated successfully, but these errors were encountered: