go-plus
go-plus copied to clipboard
Run a Single Test
Hi, first of all I would like to thank for the work you put into go-plus!
I was wondering if there is a way to run single test or a single _test.go file?
If there isn't, maybe it would be useful to add a Menu command, something like "Run test function under cursor" which would execute "go test params -run TestFunctionName"?
I believe this would be very useful when fixing failing tests because it would be much easier to follow the console/log output.
I'd love to see this. Another option is to have an text input within the 'Test' tab in which you could enter a string which is proxied directly to the -run
flag. The shortcut mentioned by @neriusv could populate that box.
i want this feature too
To run a single test file you can pass this to the test flags: -run .