Skip to content

Commit

Permalink
Add .vscode/launch.json for testing in VS Code
Browse files Browse the repository at this point in the history
  • Loading branch information
GilOliveira committed Aug 20, 2023
1 parent e780098 commit 870b1a6
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
// 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": [
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'omglol'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=omglol"
],
"filter": {
"name": "omglol",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}",
"envFile": ".env"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug integration test 'integration_tests'",
"cargo": {
"args": [
"test",
"--no-run",
"--test=integration_tests",
"--package=omglol"
],
"filter": {
"name": "integration_tests",
"kind": "test"
}
},
"args": [],
"cwd": "${workspaceFolder}",
"envFile": ".env"
}
]
}

0 comments on commit 870b1a6

Please sign in to comment.