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.
Best Practices for Error Handling in Go
Best Practices for Error Handling in Go
Reduce Bugs and Maintain Control - Essential Practices.
Conclusion
Conclusion
Putting Your Knowledge into Practice.