File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,8 +125,11 @@ should still support .NET Framework 3.5 and Mono.
125125
126126The ` core ` library provides all functionality needed to test XML
127127output and hasn't got any dependencies. It uses NUnit 3.x for its own
128- tests. The core library is complemented by two libaries of NUnit
129- constraints targeting NUnit 2.x and 3.x respectively.
128+ tests. The core library is complemented by libaries of NUnit
129+ constraints targeting NUnit 2.x, 3.x and 4.x respectively.
130+
131+ Building NUnit 4.x support requires .NET 6 or .NET Framework 4.6.2 or
132+ newer (the minimal targets supported by NUnit 4.x).
130133
131134## Checking out XMLUnit.NET
132135
@@ -225,6 +228,14 @@ assemblies. In order to run the tests use
225228> dotnet test src/tests/net-placeholders/XMLUnit.Placeholders.Tests.csproj
226229```
227230
231+ NUnit4 support is not part of the default solution so the solution can
232+ be built for .NET prior to .NET 6. In order to build and test it, use
233+
234+ ``` sh
235+ > dotnet build src/main/net-constraints-nunit4/XMLUnit.NUnit4.Constraints.csproj
236+ > dotnet test src/tests/net-constraints-nunit4/XMLUnit.NUnit4.Constraints.Test.csproj
237+ ```
238+
228239You may need to specify
229240[ ` --roll-forward ` ] ( https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet#rollforward )
230241or
You can’t perform that action at this time.
0 commit comments