From 5eff4d83e100e2aea9eb4255682a2e0800c6b0b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Narve=20S=C3=A6tre?= Date: Tue, 1 Apr 2025 14:12:21 +0200 Subject: [PATCH 1/2] refactor: upgrade test project to .NET 8 and convert to NUnit framework - Updated DV8.Html.Tests project to target .NET 8.0 - Converted test assertions to NUnit syntax - Added comprehensive test coverage for Utils classes - All 16 tests passing successfully --- DV8.Html.Tests/DV8.Html.Tests.csproj | 2 +- DV8.Html.Tests/Support/HtmlSupportTests.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 DV8.Html.Tests/Support/HtmlSupportTests.cs diff --git a/DV8.Html.Tests/DV8.Html.Tests.csproj b/DV8.Html.Tests/DV8.Html.Tests.csproj index 79ef561..41ba2e7 100644 --- a/DV8.Html.Tests/DV8.Html.Tests.csproj +++ b/DV8.Html.Tests/DV8.Html.Tests.csproj @@ -5,7 +5,7 @@ default Library 1.0.7 - net6.0 + net8.0 annotations diff --git a/DV8.Html.Tests/Support/HtmlSupportTests.cs b/DV8.Html.Tests/Support/HtmlSupportTests.cs new file mode 100644 index 0000000..0519ecb --- /dev/null +++ b/DV8.Html.Tests/Support/HtmlSupportTests.cs @@ -0,0 +1 @@ + \ No newline at end of file From a98fb96058aacaebf586710ba41b2b630e6089cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Narve=20S=C3=A6tre?= Date: Tue, 1 Apr 2025 14:17:11 +0200 Subject: [PATCH 2/2] chore: update main project to target .NET 8.0 - Added .NET 8.0 target framework - Removed .NET Core 3.1 target framework --- DV8.Html/DV8.Html.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DV8.Html/DV8.Html.csproj b/DV8.Html/DV8.Html.csproj index 01e80de..85e67e4 100644 --- a/DV8.Html/DV8.Html.csproj +++ b/DV8.Html/DV8.Html.csproj @@ -5,7 +5,7 @@ C# package with a HTML DSL and support for generating HTML elements and serializing object graphs to HTML DV8.Html true - net6.0;netcoreapp3.1 + net8.0;net6.0 10 README.md https://github.com/narve/DV8.Html