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

Run all fuzz tests in package #220

Open
nikolaydubina opened this issue May 16, 2024 · 0 comments
Open

Run all fuzz tests in package #220

nikolaydubina opened this issue May 16, 2024 · 0 comments
Labels

Comments

@nikolaydubina
Copy link
Owner

nikolaydubina commented May 16, 2024

Go can run single fuzz test at a time. When you have many fuzz tests, you can run all of them in parallel preserving error status codes as follows.

go test -list . | grep Fuzz | xargs -P 8 -I {} go test -fuzz {} -fuzztime 5s .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant