zsh: command not found: go-junit-report
Ran the command - go install github.com/jstemmer/go-junit-report/v2@latest
test go-junit-report - go test -v 2>&1 ./... | go-junit-report -set-exit-code > report.xml
output - zsh: command not found: go-junit-report
I think I had to add some path in .zshrc file, but I cant understand what to add..

What is your GOPATH? (i.e. go env GOPATH)
Can you the binary in it?
What is your GOPATH? (i.e.
go env GOPATH) Can you the binary in it?
GOPATH - /home/username/go
Getting this too now.
Was working before. Now getting:
/bin/bash: go-junit-report: command not found
junit-report is installed in my go/bin directory
GOPATH - /home/username/go
junit-report is installed in my
go/bindirectory
Is $GOPATH/bin part of your $PATH environment variable?