From 7d4ab7991ce34af222f413cdcbbc55cbe1aec96a Mon Sep 17 00:00:00 2001 From: James Wampler Date: Sun, 5 Jul 2026 13:26:15 -0700 Subject: [PATCH] Exclude Data namespace from dotnet code coverage DbContext/EF configuration classes are infra plumbing with no business logic to unit test; counting them against the coverage target only dilutes the signal, same rationale as Migrations. --- tests/api/MicCheck.Api.Tests.Unit/coverlet.runsettings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api/MicCheck.Api.Tests.Unit/coverlet.runsettings b/tests/api/MicCheck.Api.Tests.Unit/coverlet.runsettings index da026bc..1ff4db3 100644 --- a/tests/api/MicCheck.Api.Tests.Unit/coverlet.runsettings +++ b/tests/api/MicCheck.Api.Tests.Unit/coverlet.runsettings @@ -4,7 +4,7 @@ - [MicCheck.Api]MicCheck.Api.Migrations.* + [MicCheck.Api]MicCheck.Api.Migrations.*,[MicCheck.Api]MicCheck.Api.Data.*