-
Notifications
You must be signed in to change notification settings - Fork 825
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 Fuzz Tests #1098
Comments
Question here: What parts of Agones should be covered with Fuzz testing? |
I would imagine that our api surface would make the most sense. I think looking at how k8s does fuzz testing and doing something similar (which it looks like you were trying to do) would be a great starting point. |
Thanks for your answer. Fuzzit is free for open source, prometheus is using it, it adds a new Currently investigating if we can add fuzz tests also for |
We should somehow use |
Followed an example from the book "Programming Kubernetes" https://github.com/programming-kubernetes/pizza-apiserver/tree/master/pkg/apis/restaurant/fuzzer
|
Picked this ticket back. Now I am using this code as an example:
|
It looks like that field is in the v1alpha1 api surface:
/cc @pooneh-m (for when she's back in the office) |
Is there a way to only fuzz the v1 apis to start so that we can get your PR merged while we decide how to fix this? |
Hello, will do, I think we can skip alpha for now. Nice solution. |
We should consider adding fuzz testing to Agones.
Kubernetes uses https://github.com/google/gofuzz (originally was in the Kubernetes repo but was split out).
https://github.com/google/oss-fuzz is Google’s free fuzzing-as-a-service platform and has recently added support for Go fuzzers.
There are probably other options as well that I'm not aware of.
The text was updated successfully, but these errors were encountered: