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

How to Use Mock Testing in Go
How to Use Mock Testing in Go
Mocking & Rocking - Power Up Your Go Testing.
Common Mistakes to Avoid When Handling Errors in Go
Common Mistakes to Avoid When Handling Errors in Go
Write Clean Code - Common Error Handling Mistakes to Avoid.
Conclusion
Conclusion
Putting Your Knowledge into Practice.