joselitofilho / ginkgoTestExplorer

A Ginkgo Test Explorer for VS Code
https://marketplace.visualstudio.com/items?itemName=joselitofilho.ginkgotestexplorer
Other
31 stars 14 forks source link

How can I directly change the commandline parameters of gingko #65

Open myzhan opened 1 year ago

myzhan commented 1 year ago

I'm using gomonkey with ginkgo to write unittests, and gomonkey needs to disable function inlining. So I must run ginkgo like this.

$ gingko -gcflags=all=-l

Tried the build tags option, which will generate command line like this.

$ gingko --tags=-gcflags=all=-l
jaredjensen commented 3 months ago

I'd like to be able to do this so I can specify --label-filter when debugging shared code like in SynchronizedBeforeSuite.