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

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