Skip to content

Commit

Permalink
Add additional test for vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
danquack committed Oct 23, 2023
1 parent 0f9187a commit 3d569e0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ terraform-provider-cloudflare
dist/*
.envrc
.flox/
.vscode/private.env
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@
"args": [
"-debug",
],
},
{
"name": "Debug Selected Test",
"request": "launch",
"type": "go",
"args": [
"-test.v",
"-test.run",
"^${selectedText}$"
],
"mode": "auto",
"program": "${fileDirname}",
"env": {"PKG_NAME": "${relativeFileDirname}"},
"envFile": "${workspaceFolder}/.vscode/private.env",
"showLog": true
}
]
}

0 comments on commit 3d569e0

Please sign in to comment.