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

Go. Use coverage to stop fuzzing and speed up fuzzing #1895

Merged

Conversation

egiptipavel
Copy link
Collaborator

Description

  • Stop fuzzing after reaching 100% coverage. The remaining time is given to the next function
  • Add new test only if it covers new lines
  • Run all function in one process

Fixes #1806
Fixes #1810

How to test

Manual tests

Test on utbot-go/go-samples/simple/samples.go and utbot-go/go-samples/simple/supported_types.go files.

Self-check list

Check off the item if the statement is true. Hint: [x] is a marked item.

Please do not delete the list or its items.

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@egiptipavel egiptipavel added ctg-enhancement New feature, improvement or change request lang-go Issue is related to Go support labels Mar 5, 2023
@egiptipavel egiptipavel requested a review from Markoutte March 5, 2023 19:19
@egiptipavel egiptipavel self-assigned this Mar 5, 2023
@egiptipavel egiptipavel merged commit f833be0 into main Mar 6, 2023
@egiptipavel egiptipavel deleted the egiptipavel/go-coverage-and-run-all-functions-in-one-process branch March 6, 2023 07:43
@alisevych alisevych added this to the 2023.03 Release milestone Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctg-enhancement New feature, improvement or change request lang-go Issue is related to Go support
Projects
None yet
3 participants