Golang
The Golang build feature enables the real-time reporting and history of Go test results in TeamCity.
Before running builds, make sure a Go compiler is installed on an agent.
To enable Go tests reporting in TeamCity, run them with the -json
flag using one of these two methods:
Add this flag to the Command Line build runner's script:
go test -json
.Add the
env.GOFLAGS = -json
parameter to the build configuration.
Last modified: 01 June 2022