ray-x / go.nvim

G'day Nvimer, Joyful Gopher: Discover the Feature-Rich Go Plugin for Neovim
MIT License
2.06k stars 123 forks source link

GoTest set timeout #365

Closed corani closed 11 months ago

corani commented 1 year ago

It appears the timeout for GoTest is set to 10m. Recently I had a unit test that was deadlocking, so while working on that I had to run the tests from the command-line in order to set a 5s timeout. Would it be possible to (1) add a config value for the default timeout, and (2) pass a flag to the GoTest commands to override that default?

BrunoKrugel commented 1 year ago

GoTest -a your_args