Go 1 · Testing and profiling
Fuzz a function
Run a fuzz test for 30 seconds to look for inputs that make it fail.
go test -fuzz=FuzzParse -fuzztime=30s
Go 1 · Testing and profiling
Run a fuzz test for 30 seconds to look for inputs that make it fail.
go test -fuzz=FuzzParse -fuzztime=30s
Was this page helpful?