Skip to content

Instantly share code, notes, and snippets.

@AndyWatt83
Last active August 3, 2018 23:43
Show Gist options
  • Save AndyWatt83/5d6c331d3c937472a6af14f4381cb129 to your computer and use it in GitHub Desktop.
Save AndyWatt83/5d6c331d3c937472a6af14f4381cb129 to your computer and use it in GitHub Desktop.
tasks.json file to enable running the test commmand for C# development tutorial
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceRoot}/src/CSharpWithVSCode.ConsoleApp/CSharpWithVSCode.ConsoleApp.csproj"
],
"problemMatcher": "$msCompile"
},
{
"label": "test",
"command": "dotnet",
"type": "process",
"args": [
"test",
"${workspaceRoot}/test/CSharpWithVSCode.Tests/CSharpWithVSCode.Tests.csproj"
],
"problemMatcher": "$msCompile",
"group": {
"kind": "test",
"isDefault": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment