Abhinav Gupta | About

testing

Mock programs to test os/exec in Go 17 minutes Learn how the test machinery works in Go and how you can use it to inject arbitrary mock behavior into external binaries during tests.