I checked documentation and help tutorial. Didn't find answer.
I just want to run a_test.go not all *_test.go. Is this possible or how? thanks a lot!
I checked documentation and help tutorial. Didn't find answer.
I just want to run a_test.go not all *_test.go. Is this possible or how? thanks a lot!
The following flags are recognized by the 'go test' command and control the execution of any test:
-run regexp Run only those tests and examples matching the regular expression.
To run the tests which satisfy the regex regular expression:
go test -run=regexp