I have a test named plan_test.go which does some terraform plan and logs resource changes, in the GOPATH. When i run:
go install github.com/jstemmer/go-junit-report
go test -v 2>&1 | go-junit-report > report.xml
it throws an error in bash and Powershell as following
bash: go-junit-report: command not found
go-junit-report : The term 'go-junit-report' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
I have a test named plan_test.go which does some terraform plan and logs resource changes, in the GOPATH. When i run: go install github.com/jstemmer/go-junit-report go test -v 2>&1 | go-junit-report > report.xml it throws an error in bash and Powershell as following
bash: go-junit-report: command not found
go-junit-report : The term 'go-junit-report' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.