How to write a fuzz test | Demo

preview_player
Показать описание

Want to write a fuzz test? In this video, we are joined by Saba, a Software Engineering Manager at Google, who shows how to write a fuzz test for a simple reverse string function, run the go command, and understand the log. You will need Go 1.18 to write a fuzz test!

Chapters:
0:00 - Intro
0:19 - Prerequisites for Fuzzing
0:56 - Demo
6:16 - Wrap up

#GettingStartedWithGo
Рекомендации по теме
Комментарии
Автор

What happens if our method or function returns another type like boolean that we cannot check by calling the same function 2 times? As I understand fuzz testing is not appropriate for all of the functions. Maybe we need to write our functions testable for fuzz testing.

gokhanozeloglu