Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
I have two setups, in one the
-paralleloption works just fine in vscode - it generates parallel test cases as it should. In the other it doesn't do anything (not reporting errors in custom flags is a problem in the vscode go plugin, which is not the issue here).Both were installed with
go get -u github.com/cweill/gotests/...when in the $HOME directory within 15 minutes of each other.One installation looks like this (go version go1.14.3 darwin/amd64) - no
-paralleloptionThe other like this (go version go1.13.8 linux/amd64) -
-parallelfound and works perfectlyTook me a LONG while to figure out why vscode was generating parallel tests on one and not on the other... There is no way to differentiate the two installs except by manually comparing the help texts - which themselves only appear when giving a faulty flag. Just running
gotestsby itself gives the exact same defaults on both installations.It would be really useful to have a
-versionflag in gotests to debug these issues and maybe make it possible for plugins like the Go vscode plugin to determine if some options are available or not.Bonus question: why did both platforms and go versions get a completely different version of gotests?