From 883e8b4effa7200291f701c931103a25fd1a2dac Mon Sep 17 00:00:00 2001 From: mlemanczyk Date: Sun, 3 Sep 2023 14:52:35 +0200 Subject: [PATCH] VS Code tasks.json fixed to build the entire solution. X-unit test settings adjusted for better performance. --- .vscode/tasks.json | 28 +++++++++++++------ Recyclable.CollectionsTests/xunit.runner.json | 6 ++++ 2 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 Recyclable.CollectionsTests/xunit.runner.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json index f921346..d67f306 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,6 +1,16 @@ { "version": "2.0.0", "tasks": [ + { + "isBuildCommand": true, + "label": "build", + "dependsOn": ["build debug", "build release"], + "problemMatcher": "$msCompile", + "group": { + "kind": "build", + "isDefault": true + } + }, { "isBuildCommand": true, "label": "build debug", @@ -8,12 +18,15 @@ "type": "process", "args": [ "build", - "${workspaceFolder}/Recyclable.Collections.Benchmarks/Recyclable.Collections.Benchmarks.csproj", + "${workspaceFolder}/Recyclable.Collections.sln", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary", - "-f", "net7.0" ], - "problemMatcher": "$msCompile" + "problemMatcher": "$msCompile", + "group": { + "kind": "build", + "isDefault": false + } }, { "label": "build release", @@ -21,16 +34,15 @@ "type": "process", "args": [ "build", - "${workspaceFolder}/Recyclable.Collections.Benchmarks/Recyclable.Collections.Benchmarks.csproj", + "${workspaceFolder}/Recyclable.Collections.sln", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary", "-c", "Release", - "-f", "net7.0" ], "problemMatcher": "$msCompile", "group": { "kind": "build", - "isDefault": true + "isDefault": false } }, { @@ -39,7 +51,7 @@ "type": "process", "args": [ "publish", - "${workspaceFolder}/Recyclable.Collections.Benchmarks/Recyclable.Collections.Benchmarks.csproj", + "${workspaceFolder}/Recyclable.Collections.sln", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], @@ -53,7 +65,7 @@ "watch", "run", "--project", - "${workspaceFolder}/Recyclable.Collections.Benchmarks/Recyclable.Collections.Benchmarks.csproj" + "${workspaceFolder}/Recyclable.Collections.sln" ], "problemMatcher": "$msCompile" } diff --git a/Recyclable.CollectionsTests/xunit.runner.json b/Recyclable.CollectionsTests/xunit.runner.json new file mode 100644 index 0000000..df0bc99 --- /dev/null +++ b/Recyclable.CollectionsTests/xunit.runner.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", + "methodDisplay": "method", + "parallelizeTestCollections": true, + "preEnumerateTheories": false +}