I'm trying to edit default test timeout through Visual studio code Settings.json
Here are my go.testFlags:
"go.testFlags": [
"-count=1",
"1",
"-v",
"-timeout 30m"
],
But when I run test through vsc I see that timeout is still default (30 seconds)
Is there any way I could override default go test timeout setting?
I am aware I can pass it as flag like this:
go test -timeout 30m
You can use"go.testTimeout": "300s"
on settings.json file. It worked for me.
just change go.testTimeout
in setting to 10m
or just set "go.testTimeout": "10m"
on settings.json
file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With