-
Notifications
You must be signed in to change notification settings - Fork 42
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
test: add trustpolicy fuzzer #461
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #461 +/- ##
=======================================
Coverage 81.34% 81.34%
=======================================
Files 34 34
Lines 2578 2578
=======================================
Hits 2097 2097
Misses 335 335
Partials 146 146 ☔ View full report in Codecov by Sentry. |
@AdamKorcz You may need to merge latest changes. |
done |
@AdamKorcz You may need to merge the latest changes and sign-off the commit again. |
done |
Signed-off-by: Adam Korczynski <[email protected]>
Have signed the commit. |
@@ -3,6 +3,7 @@ module github.com/notaryproject/notation-go | |||
go 1.22.0 | |||
|
|||
require ( | |||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is bringing in a new 3rd party dependency to notation-go.
@shizhMSFT @priteshbandi would like to know your thoughts regarding this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New dependency should not be added. If github.com/AdaLogics/go-fuzz-headers
is really required for testing, we should create a nested model like https://github.com/notaryproject/notation/tree/main/test/e2e
@@ -3,6 +3,7 @@ module github.com/notaryproject/notation-go | |||
go 1.22.0 | |||
|
|||
require ( | |||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New dependency should not be added. If github.com/AdaLogics/go-fuzz-headers
is really required for testing, we should create a nested model like https://github.com/notaryproject/notation/tree/main/test/e2e
@AdamKorcz Would you mind updating the branch and addressing the comments by Shiwei. Let me know if you need any support on this. Thanks. |
Moves this fuzzer upstream from cncf-fuzzing. Adds a dependency to randomize structs.