VS Code tasks.json fixed to build the entire solution. X-unit test settings adjusted for better performance.

This commit is contained in:
mlemanczyk committed 2023-09-03 14:52:35 +02:00
1 parent 2cee41904a
commit 883e8b4eff
2 files changed
+26 -8

No files matched your search

+20 -8
View File
@@ -1,6 +1,16 @@
{ {
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{
"isBuildCommand": true,
"label": "build",
"dependsOn": ["build debug", "build release"],
"problemMatcher": "$msCompile",
"group": {
"kind": "build",
"isDefault": true
}
},
{ {
"isBuildCommand": true, "isBuildCommand": true,
"label": "build debug", "label": "build debug",
@@ -8,12 +18,15 @@
"type": "process", "type": "process",
"args": [ "args": [
"build", "build",
"${workspaceFolder}/Recyclable.Collections.Benchmarks/Recyclable.Collections.Benchmarks.csproj", "${workspaceFolder}/Recyclable.Collections.sln",
"/property:GenerateFullPaths=true", "/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary", "/consoleloggerparameters:NoSummary",
"-f", "net7.0"
], ],
"problemMatcher": "$msCompile" "problemMatcher": "$msCompile",
"group": {
"kind": "build",
"isDefault": false
}
}, },
{ {
"label": "build release", "label": "build release",
@@ -21,16 +34,15 @@
"type": "process", "type": "process",
"args": [ "args": [
"build", "build",
"${workspaceFolder}/Recyclable.Collections.Benchmarks/Recyclable.Collections.Benchmarks.csproj", "${workspaceFolder}/Recyclable.Collections.sln",
"/property:GenerateFullPaths=true", "/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary", "/consoleloggerparameters:NoSummary",
"-c", "Release", "-c", "Release",
"-f", "net7.0"
], ],
"problemMatcher": "$msCompile", "problemMatcher": "$msCompile",
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": false
} }
}, },
{ {
@@ -39,7 +51,7 @@
"type": "process", "type": "process",
"args": [ "args": [
"publish", "publish",
"${workspaceFolder}/Recyclable.Collections.Benchmarks/Recyclable.Collections.Benchmarks.csproj", "${workspaceFolder}/Recyclable.Collections.sln",
"/property:GenerateFullPaths=true", "/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary" "/consoleloggerparameters:NoSummary"
], ],
@@ -53,7 +65,7 @@
"watch", "watch",
"run", "run",
"--project", "--project",
"${workspaceFolder}/Recyclable.Collections.Benchmarks/Recyclable.Collections.Benchmarks.csproj" "${workspaceFolder}/Recyclable.Collections.sln"
], ],
"problemMatcher": "$msCompile" "problemMatcher": "$msCompile"
} }
@@ -0,0 +1,6 @@
{
"$schema": "https://xunit.net/schema/current/xunit.runner.schema.json",
"methodDisplay": "method",
"parallelizeTestCollections": true,
"preEnumerateTheories": false
}