From 2cd3b5516078104a9803b983b4abf0a5e54bd81e Mon Sep 17 00:00:00 2001 From: Henrik Lau Eriksson Date: Thu, 11 Jul 2024 14:06:21 +0200 Subject: [PATCH] coverage --- coverage.bat | 2 ++ coverage.runsettings | 18 ++++++++++++++++++ .../CommandQuery.AWSLambda.Tests.csproj | 1 + .../CommandQuery.AspNetCore.Tests.csproj | 1 + .../CommandQuery.AzureFunctions.Tests.csproj | 1 + ...mandQuery.GoogleCloudFunctions.Tests.csproj | 1 + .../CommandQuery.Tests.csproj | 1 + 7 files changed, 25 insertions(+) create mode 100644 coverage.bat create mode 100644 coverage.runsettings diff --git a/coverage.bat b/coverage.bat new file mode 100644 index 0000000..57b05fb --- /dev/null +++ b/coverage.bat @@ -0,0 +1,2 @@ +dotnet test CommandQuery.sln --collect "Code Coverage" --settings coverage.runsettings +reportgenerator -reports:"tests\**\coverage.xml" -targetdir:"TestResults\Coverage" -reporttypes:Html -filefilters:"-*DotNetWorker*;-*NUnit*" diff --git a/coverage.runsettings b/coverage.runsettings new file mode 100644 index 0000000..681084b --- /dev/null +++ b/coverage.runsettings @@ -0,0 +1,18 @@ + + + + + + + coverage.xml + xml + False + + False + False + + + + + + \ No newline at end of file diff --git a/tests/CommandQuery.AWSLambda.Tests/CommandQuery.AWSLambda.Tests.csproj b/tests/CommandQuery.AWSLambda.Tests/CommandQuery.AWSLambda.Tests.csproj index aafc4f8..b356a65 100644 --- a/tests/CommandQuery.AWSLambda.Tests/CommandQuery.AWSLambda.Tests.csproj +++ b/tests/CommandQuery.AWSLambda.Tests/CommandQuery.AWSLambda.Tests.csproj @@ -16,6 +16,7 @@ + all diff --git a/tests/CommandQuery.AspNetCore.Tests/CommandQuery.AspNetCore.Tests.csproj b/tests/CommandQuery.AspNetCore.Tests/CommandQuery.AspNetCore.Tests.csproj index a115fb8..9647480 100644 --- a/tests/CommandQuery.AspNetCore.Tests/CommandQuery.AspNetCore.Tests.csproj +++ b/tests/CommandQuery.AspNetCore.Tests/CommandQuery.AspNetCore.Tests.csproj @@ -16,6 +16,7 @@ + all diff --git a/tests/CommandQuery.AzureFunctions.Tests/CommandQuery.AzureFunctions.Tests.csproj b/tests/CommandQuery.AzureFunctions.Tests/CommandQuery.AzureFunctions.Tests.csproj index 368bcd6..c01b27f 100644 --- a/tests/CommandQuery.AzureFunctions.Tests/CommandQuery.AzureFunctions.Tests.csproj +++ b/tests/CommandQuery.AzureFunctions.Tests/CommandQuery.AzureFunctions.Tests.csproj @@ -16,6 +16,7 @@ + all diff --git a/tests/CommandQuery.GoogleCloudFunctions.Tests/CommandQuery.GoogleCloudFunctions.Tests.csproj b/tests/CommandQuery.GoogleCloudFunctions.Tests/CommandQuery.GoogleCloudFunctions.Tests.csproj index 290f747..d1ef9b5 100644 --- a/tests/CommandQuery.GoogleCloudFunctions.Tests/CommandQuery.GoogleCloudFunctions.Tests.csproj +++ b/tests/CommandQuery.GoogleCloudFunctions.Tests/CommandQuery.GoogleCloudFunctions.Tests.csproj @@ -17,6 +17,7 @@ + diff --git a/tests/CommandQuery.Tests/CommandQuery.Tests.csproj b/tests/CommandQuery.Tests/CommandQuery.Tests.csproj index 8c7bb00..072649a 100644 --- a/tests/CommandQuery.Tests/CommandQuery.Tests.csproj +++ b/tests/CommandQuery.Tests/CommandQuery.Tests.csproj @@ -12,6 +12,7 @@ + all