Fuzzing is similar to unit testing, though it allows you to generate your outputs. Fuzzing is fantastic when you can deterministically validate that a function behaves as expected when provided random inputs. Fuzzing helps catch entirely different classes of errors that unit testing often misses.
go.dev/doc/tutorial/fuzz
21 июн 2024