gotestfmt icon indicating copy to clipboard operation
gotestfmt copied to clipboard

go test output for humans

Results 11 gotestfmt issues
Sort by recently updated
recently updated
newest added

Thank you for this fantastic tool! We have been using it for [Pion](https://github.com/pion/webrtc) and has saved me significant time already :) reading test logs without it is terrible. I am...

As discovered by @sdball [here](https://www.rakeroutes.com/2022/03/16/nice-go-test-output) any output written during the teardown phase is regrouped to the start of the package. This should be fixed and content written after the test...

When pushing a tag for a new release Goreleaser fails with the error below. This doesn't impact releases, but looks ugly since the main branch will show CI failures. ```...

help wanted
CI

Add support for a jUnit-style XML. This will also be helpful when working with CI systems that can understand this XML. This can possibly be implemented using a CI template....

enhancement
good first issue

Thanks for maintaining this tool, it looks like the parser/tokenizer is missing some golang outputs and render them like any user-generated outputs. ## coverage ``` go test "-trimpath" -tags="nofuse" -v...

bug

- Describe what you would like to see When running something like `go test -run MyTestName ./... -json | gotestfmt -hide no-test` I'd like to be able to only see...

enhancement
help wanted

The following line which is outputting from `go test -json -race` appears to cause `gotestfmt` to panic. ```json {"ImportPath":"github.com/ubuntu/ubuntu-insights/insights/C.test","Action":"build-output","Output":"# github.com/ubuntu/ubuntu-insights/insights/C.test\nld: warning: '/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/go-link-3781205840/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to...

bug

[github.com/flant/shell-operator](https://github.com/flant/shell-operator/pull/743) ```plain ❯ go test ./... -v ? github.com/flant/shell-operator/cmd/shell-operator [no test files] ? github.com/flant/shell-operator/pkg/app [no test files] === RUN TestConfig_Register --- PASS: TestConfig_Register (0.00s) === RUN TestConfig_OnChange --- PASS: TestConfig_OnChange...

bug

In my case, I had to add the `-i` flag so that docker didn't close the input stream. I believe this was because my computer is really fast to close...

documentation

## Please describe the change you are making Lines starting with `?` are interpreted as a package being skipped: https://github.com/GoTestTools/gotestfmt/blob/4c97682ab858d6bbd26fc020e255cb339c9c8119/tokenizer/tokenizer.go#L183-L188 If a test prints a line that matches this pattern,...