Fuzz testing

Automate your tests by continuously submitting various input.

Tip Screenshot

Fuzz testing allows you to check your code against the various generated data. If fuzz testing fails, you can always see the reason in the testdata directory.

In the \_test file, click the Run Test icon in the gutter and navigate to Run | go test -fuzz FuzzMyTest.


Related Resources

Detect Incorrect Usages of t/b.Fatal* Calls in Goroutines
Detect Incorrect Usages of t/b.Fatal* Calls in Goroutines
Find if tests or benchmarks are using t/b.Fatal* calls inside goroutines incorrectly
Live Template to Create a for Loop
Live Template to Create a for Loop
Benchmark loops are repetitive, so let the IDE handle this for you.
Live Template to Write Benchmark Functions
Live Template to Write Benchmark Functions
Write benchmarks quicker thanks to the builtin bench live template.