Skip to content

Instantly share code, notes, and snippets.

@xh3b4sd
Created May 13, 2022 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xh3b4sd/6a0cb77ff458f85d8ef1a980a9511f3b to your computer and use it in GitHub Desktop.
Save xh3b4sd/6a0cb77ff458f85d8ef1a980a9511f3b to your computer and use it in GitHub Desktop.
VS Code debugger configuration for debugging a single test of the currently open test file.
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Test Current File",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${workspaceFolder}/${relativeFileDirname}",
"args": [
"-test.run",
"Test_Bidder_size_ope/004"
]
}
]
}
@xh3b4sd
Copy link
Author

xh3b4sd commented Aug 6, 2022

go test ./... -run Test_Bidder_size_ope/004

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment