-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This enables all the scenarios one needs to do development: Build, Clean, Run Tests, Debug Tests. *But* it's all less than compelling: - .NET Test Explorer Pane can't debug tests (formulahendry/vscode-dotnet-test-explorer#247) - The built in OmniSharp support doesn't let you run all the tests with a shortcut, or with a command. Only at the class level - The standard editor commands for running tests are fine, but debugging is a bear
- Loading branch information
Showing
2 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
// Use IntelliSense to find out which attributes exist for C# debugging | ||
// Use hover for the description of the existing attributes | ||
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": ".NET Core Attach", | ||
"type": "coreclr", | ||
"request": "attach", | ||
"processId": "${command:pickProcess}" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Build Solution", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"build", | ||
"${workspaceFolder}/StoryvoidDotNet.sln", | ||
"/property:GenerateFullPaths=true" | ||
], | ||
"problemMatcher": "$msCompile", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"label": "Clean Solution", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"clean", | ||
"${workspaceFolder}/StoryvoidDotNet.sln", | ||
"/property:GenerateFullPaths=true" | ||
], | ||
"problemMatcher": "$msCompile", | ||
"group": "none" | ||
}, | ||
{ | ||
"label": "OAuth Library Tests", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"test", | ||
"${workspaceFolder}/OAuthLibraryTests/OAuthLibraryTests.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile", | ||
"group": "test", | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": false, | ||
"panel": "dedicated", | ||
"showReuseMessage": true, | ||
"clear": true | ||
} | ||
}, | ||
{ | ||
"label": "Instpaper API Tests", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"test", | ||
"${workspaceFolder}/InstapaperApiTests/InstapaperApiTests.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile", | ||
"group": "test", | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": false, | ||
"panel": "dedicated", | ||
"showReuseMessage": true, | ||
"clear": true | ||
} | ||
} | ||
] | ||
} |