From c75f84172178692b140d7434a77530dc6562c0d1 Mon Sep 17 00:00:00 2001 From: Kenan Salim Date: Sun, 14 Jun 2026 01:35:16 +0300 Subject: [PATCH] test(identity): wire coverlet.collector for .NET coverage measurement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds coverlet.collector to both identity test projects so 'dotnet test --collect:"XPlat Code Coverage"' emits cobertura — the .NET equivalent of the Rust llvm-cov / dbt gates. Identity was uninstrumented. Measured (SDK 9.0): UNIT line coverage 24.3% (Domain 61.8%, Infrastructure 24.8%, Api 8.2%); the Api/Infrastructure surface is exercised mainly by the 145 Testcontainers integration tests, so the combined unit+integration figure is materially higher. A merged unit+integration report (reportgenerator) + a ratchet is the follow-up to gate a single combined number. Signed-off-by: Kenan Salim --- .../Insight.Identity.Tests.Integration.csproj | 1 + .../Insight.Identity.Tests.Unit.csproj | 1 + 2 files changed, 2 insertions(+) diff --git a/src/backend/services/identity/tests/Insight.Identity.Tests.Integration/Insight.Identity.Tests.Integration.csproj b/src/backend/services/identity/tests/Insight.Identity.Tests.Integration/Insight.Identity.Tests.Integration.csproj index 9c58692b3..1bb283e59 100644 --- a/src/backend/services/identity/tests/Insight.Identity.Tests.Integration/Insight.Identity.Tests.Integration.csproj +++ b/src/backend/services/identity/tests/Insight.Identity.Tests.Integration/Insight.Identity.Tests.Integration.csproj @@ -7,6 +7,7 @@ +