From 2b3180bbd3e0c036d5af02ef3d4193e2183d7f73 Mon Sep 17 00:00:00 2001
From: Chris Wolfgang <210299580+Chris-Wolfgang@users.noreply.github.com>
Date: Mon, 29 Jun 2026 20:39:19 -0400
Subject: [PATCH] chore(tests): bump xunit.runner.visualstudio 3.0.0 -> 3.1.5
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Moves the net8/9/10 ItemGroup runner from 3.0.0 to 3.1.5 (latest GA on
the 3.x line). The xunit core packages stay at 2.9.3 — runner 3.x
explicitly supports xunit 1.x / 2.x / 3.x test discovery, so the
mismatched-major shape is a non-issue on real GA releases.
Earlier round of this PR mistakenly tried to downgrade to 2.8.2 on the
basis of a CLAUDE.md note saying "3.x is incompatible with xunit v2."
The note dates from the 3.0.0-pre.* era, when v2 discovery actually
was broken; the GA 3.x line restored it. 2.8.2 is the *ceiling* of the
2.x line (no newer 2.x exists), so the alleged fix was actually
sacrificing ~14 months of runner maintenance. Upgrading instead.
Verified locally: 88/88 tests pass on net8.0, net9.0, and net10.0
with runner 3.1.5 + xunit 2.9.3.
Follow-up: CLAUDE.md's xunit runner rule needs to be updated to
reflect that 3.x GA is compatible (separate change, not in this PR).
Closes #218
---
.../Wolfgang.TryPattern.Tests.Unit.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Wolfgang.TryPattern.Tests/Wolfgang.TryPattern.Tests.Unit.csproj b/tests/Wolfgang.TryPattern.Tests/Wolfgang.TryPattern.Tests.Unit.csproj
index 1cfd526..9325080 100644
--- a/tests/Wolfgang.TryPattern.Tests/Wolfgang.TryPattern.Tests.Unit.csproj
+++ b/tests/Wolfgang.TryPattern.Tests/Wolfgang.TryPattern.Tests.Unit.csproj
@@ -104,7 +104,7 @@
'$(TargetFramework)' == 'net10.0'
">
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive