From b58c18f4583cc329f22fcdb951588a6b9a1a074a Mon Sep 17 00:00:00 2001 From: Dag Brattli Date: Thu, 28 May 2026 21:40:53 +0200 Subject: [PATCH] chore(test): remove unused xunit dependencies Tests use a custom Fable.Python.Testing.FactAttribute that Fable lowers to a pytest test_ prefix; no test file references Xunit. The .NET test entry point was already a no-op returning 0. Drop xunit, xunit.runner.visualstudio, and Microsoft.NET.Test.Sdk to clear the deprecation warning and remove transitive bloat. Co-Authored-By: Claude Opus 4.7 (1M context) --- paket.dependencies | 3 --- paket.lock | 28 ---------------------------- test/paket.references | 5 ----- 3 files changed, 36 deletions(-) diff --git a/paket.dependencies b/paket.dependencies index 93fa3e4..3106fad 100644 --- a/paket.dependencies +++ b/paket.dependencies @@ -14,9 +14,6 @@ group Test nuget FSharp.Core nuget Fable.Core >= 5.0.0 lowest_matching: true - nuget Microsoft.NET.Test.Sdk ~> 16 - nuget xunit ~> 2 - nuget xunit.runner.visualstudio ~> 2 group Examples source https://api.nuget.org/v3/index.json diff --git a/paket.lock b/paket.lock index 60a08c4..3e43c3b 100644 --- a/paket.lock +++ b/paket.lock @@ -29,31 +29,3 @@ NUGET Fable.Core (5.0) FSharp.Core (>= 4.7.2) FSharp.Core (11.0.100) - Microsoft.CodeCoverage (18.4) - Microsoft.NET.Test.Sdk (16.11) - Microsoft.CodeCoverage (>= 16.11) - Microsoft.TestPlatform.TestHost (>= 16.11) - Microsoft.TestPlatform.ObjectModel (18.4) - System.Reflection.Metadata (>= 8.0) - Microsoft.TestPlatform.TestHost (18.4) - Microsoft.TestPlatform.ObjectModel (>= 18.4) - Newtonsoft.Json (>= 13.0.3) - Newtonsoft.Json (13.0.4) - System.Collections.Immutable (10.0.6) - System.Reflection.Metadata (10.0.6) - System.Collections.Immutable (>= 10.0.6) - xunit (2.9.3) - xunit.analyzers (>= 1.18) - xunit.assert (>= 2.9.3) - xunit.core (2.9.3) - xunit.abstractions (2.0.3) - xunit.analyzers (1.27) - xunit.assert (2.9.3) - xunit.core (2.9.3) - xunit.extensibility.core (2.9.3) - xunit.extensibility.execution (2.9.3) - xunit.extensibility.core (2.9.3) - xunit.abstractions (>= 2.0.3) - xunit.extensibility.execution (2.9.3) - xunit.extensibility.core (2.9.3) - xunit.runner.visualstudio (2.8.2) diff --git a/test/paket.references b/test/paket.references index 720902f..c2bdcd7 100644 --- a/test/paket.references +++ b/test/paket.references @@ -2,8 +2,3 @@ group Test FSharp.Core Fable.Core - -Microsoft.NET.Test.Sdk - -xunit -xunit.runner.visualstudio