In-reply-to » Writing and running full e2e integration tests using Go and for Go CLI applications. Lookingo into one of: Oh btw… The reason a io.Writer is left out for “stderr” is that normally I tend to just set the logging output to os.Stderr, like log.SetOutput(os.Stderr) anyway and its not usually something I end up testing. Not sure if this is the best approach, but I’m only really interested in testing the “output”(s) and either error or non-error cases.

⤋ Read More