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

[RFC] Add google/fuzztest #2246

Closed
wants to merge 9 commits into from
Closed

[RFC] Add google/fuzztest #2246

wants to merge 9 commits into from

Conversation

esigo
Copy link
Member

@esigo esigo commented Jul 22, 2023

Fixes #2247 (issue)

Changes

This PR adds fuzzing using google/fuzztest. This will enable us to add and execute fuzz tests.

TODOs

  • limit the time of test
  • add CI

example run can be found here.
Please provide a brief description of the changes here.

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

@codecov
Copy link

codecov bot commented Jul 22, 2023

Codecov Report

Merging #2246 (0080880) into main (71d0e50) will increase coverage by 0.02%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2246      +/-   ##
==========================================
+ Coverage   87.41%   87.43%   +0.02%     
==========================================
  Files         199      199              
  Lines        6052     6052              
==========================================
+ Hits         5290     5291       +1     
+ Misses        762      761       -1     

see 1 file with indirect coverage changes

@esigo esigo marked this pull request as ready for review July 29, 2023 10:17
@esigo esigo requested a review from a team July 29, 2023 10:17
@lalitb
Copy link
Member

lalitb commented Sep 8, 2023

Just to add, this was discussed in one of the earlier community meetings, we can add a more realistic example to demonstrate the use of fuzztest for better understanding of this.

@github-actions github-actions bot added the Stale label Nov 8, 2023
@esigo esigo removed the Stale label Nov 19, 2023
@esigo
Copy link
Member Author

esigo commented Jan 10, 2024

Will reopen with new example.

@esigo esigo closed this Jan 10, 2024
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.

Request for Adding Fuzz Testing to OpenTelemetry-cpp Library
4 participants