docs: add run test cmd for golang

This commit is contained in:
Klesh Wong 2021-09-29 00:13:27 +08:00
parent 6efc11c682
commit ce6d71c5c4

View File

@ -1,6 +1,12 @@
# Debugging
- debug a specific test-case
```sh
dlv test --build-flags='path/to/module' -- -test.run ^TestFunctionName$
```
- run a specific test-case
```
go test -run TestFunctionName
```