Skip to content
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 fuzzing test on Compare #22

Merged
merged 1 commit into from
Jun 11, 2023
Merged

Add fuzzing test on Compare #22

merged 1 commit into from
Jun 11, 2023

Conversation

haritsfahreza
Copy link
Owner

@haritsfahreza haritsfahreza commented Jun 11, 2023

To improve the code coverage of libra, I implement a fuzzing test for basic data types: string, int, uint, float, and bool on the Compare function.

To run the fuzzing test, you can use this command.

go test -fuzz=<fuzzing test case name> -fuzztime=<duration>

This will solve #20

References:
https://go.dev/security/fuzz

To improve the code coverage of libra, I implement fuzzing test for
basic data types which are string, int, uint, float, and bool on the
Compare function.

To run the fuzzing test, you can use this command.

go test -fuzz=<fuzzing test case name> -fuzztime=<duration>

References:
https://go.dev/security/fuzz
@haritsfahreza haritsfahreza merged commit aaeed42 into main Jun 11, 2023
3 checks passed
@haritsfahreza haritsfahreza deleted the feature/fuzzing-test branch June 11, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant