In-reply-to » Writing and running full e2e integration tests using Go and for Go CLI applications. Lookingo into one of:

Quickly tried out testcli and it’s a β€œno go” for me:

  • Its README is out-of-date and has an old reference to a package that had its import path changed (easily fixed)
  • Running the tests failed miserably as it could not find the greeting binary in the $PATH πŸ€¦β€β™‚οΈ

da fuq?! I guess this doesn’t do what I thought – which is to build the test binary and use that to run CLI tests against so you can actually measure coverage πŸ˜”


​ Read More