I'm not aware of any option that does that. For the local directory ``` grep 'func *Test' *_test.go | sed 's/func *//;s/(.*$//' ```
should work. I would however recommend to use the Skip method of the testing.T type to prevent test functions from execution. You may want to control skipping by an environment variable. On Wednesday, December 28, 2016 at 2:33:16 PM UTC+1, Sathish VJ wrote: > > Is there a `go test` option that allows one to list the tests that will be > run without actually running them? > > I have a few tests that have side effects (in the initial stages of > development) and I want to ensure that those are not accidentally run. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.