You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I use go test It's useful and work very well,
but when I have developed. I must be to rerun the go test command everytime is code changed. Especially when it is developed with TDD.
I propose we increase the convenience and reduce the development time by adding the flag -watch for automatic reload to run the test when the file is changed.
Example
Scenario I go test -watch or go test -watch .
Scenario II go test -watch ./...
Both of them It's still the same behavior just add -watch to reload and run go test automatically when file changed.
I think it's a small change that comes along very handy.
And I would like to contribute development this one.
What do we think?
The text was updated successfully, but these errors were encountered:
There are a bunch of tools that do this. Doing it in cmd/go would require having fsnotify in the standard library, and we were unable to find a way to define that package portably. Let's keep using the existing tools (and maybe even rally around a single one, but outside the standard distribution).
Currently, I use
go test
It's useful and work very well,but when I have developed. I must be to rerun the
go test
command everytime is code changed. Especially when it is developed with TDD.I propose we increase the convenience and reduce the development time by adding the flag
-watch
for automatic reload to run the test when the file is changed.Example
Scenario I
go test -watch
orgo test -watch .
Scenario II
go test -watch ./...
Both of them It's still the same behavior just add
-watch
to reload and rungo test
automatically when file changed.I think it's a small change that comes along very handy.
And I would like to contribute development this one.
What do we think?
The text was updated successfully, but these errors were encountered: