Life In The Stack Trace...

TODO: <Insert clever marketing phrase here>

Golang - Run all tests recursive including sub-directories

Have a code base or app with sub-directories / sub-packages? Want to run all of the tests all at once?

// this should do the trick
go test ./...

Notice the three dots? I haven't found an official explanation. I just know that it works...

Anyway, running the above command will search the current directory and all sub-directories for test.go files

and run them.