Debugging test plans
Build errors
$ testground plan create --plan planbuggypackage main
import (
"github.com/testground/sdk-go/run"
"github.com/testground/sdk-go/runtime"
)
func main() {
run.Invoke(test)
}
func test(runenv *runtime.RunEnv) error {
// No closing quote, will not build.
runenv.RecordMessage("Hello Bugs")
return nil
}How it looks in terminal output
Using standard debugging tools
Debugging with message output
excersise
solution
Collecting outputs vs viewing messages in the terminal
Accessing profile data
local:exec
local:docker
cluster:k8s
Last updated