One of the things I enjoy about Go is its standard library, which comes with batteries included. Sure, some packages (like flag) aren’t as powerful or ergonomic as the available alternatives but I’m generally willing to accept this in order to avoid dependencies. Testing The same also applies to Go’s built-in test support, the testing package. Let’s look at a typical test: package example import "testing" func Add(a, b int) int { return a + b } func TestAdd(t *testing.