-
Notifications
You must be signed in to change notification settings - Fork 165
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
Add test coverage for der.rs #223
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## main #223 +/- ##
==========================================
+ Coverage 50.60% 52.82% +2.22%
==========================================
Files 17 17
Lines 1984 2069 +85
==========================================
+ Hits 1004 1093 +89
+ Misses 980 976 -4
Continue to review full report at Codecov.
|
@Stefan I love the idea of this. Two thoughts:
|
Yeah I'm happy to move to Ring and see what I can contribute there. It looks like the
I have not done much fuzzing work but I am eager to learn some of that. What you describe sounds good - do you have an idea what you want that to look like or shall I create a starting point? |
This patch adds some basic tests around
optional_boolean()
to validate that it correctly generates the expected results.@briansmith let me know if you are interested in test coverage like this. I'm happy to expand this and try to cover a large chunk of functionality in
src/der.rs
with tests like this. I enjoy writing tests and this is a great way for me to learn some Rust skills. If it is too soon for tests on this code, or not needed, let me know or point me at something else. Happy to contribute.