Replies: 4 comments
-
After reading through more issues, found also https://github.com/gotestyourself/gotestsum (this looks good) https://stackoverflow.com/questions/54942550/how-to-easily-find-out-which-tests-fail suggestion to use --json output format of go test |
Beta Was this translation helpful? Give feedback.
-
gotestsum practical example https://github.com/jiridanek/skupper-router/runs/6198578904?check_suite_focus=true#step:4:1929 |
Beta Was this translation helpful? Give feedback.
-
We also use go-junit-report since CircleCI also provides an interface for displaying test results, see: |
Beta Was this translation helpful? Give feedback.
-
There seems to be a way to get this in GHA as well, I'm looking at screenshots at https://github.com/marketplace/actions/test-reporter |
Beta Was this translation helpful? Give feedback.
-
It is difficult to look for failed tests in
go test
output. Grepping forFAIL
in webbrowser is hard if search does not have case-sensitive option and if the word appears in different contexts elsewhere in the output.Go issue about printing final FAIL, not very helpful here golang/go#30507
Tool to postprocess the
go test
output, https://github.com/jstemmer/go-junit-reportLinks another tool,
richgo
, sclevine/spec#9Beta Was this translation helpful? Give feedback.
All reactions