Flipping the script: a smarter way to test Go binaries — Programming is Fun
Wouldn’t it be great if we could write tests for our Go CLI tools that are simple as shell scripts? The testscript package lets us do exactly that. Let’s take it for a spin.
Programming is Fun