diff --git a/doc/golang.md b/doc/golang.md index 98a7dce..48f1c8b 100644 --- a/doc/golang.md +++ b/doc/golang.md @@ -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 +``` +