Skip to content

Commit

Permalink
Bump NUnit package to v4.0.1
Browse files Browse the repository at this point in the history
Test code has already been updated as described below.

Note 1:
* ReSharper prior to v2023.3.2 will not recognize NUnit 4 tests. The VS2022 Test Explorer, however, shows the tests.

Note 2:
* NUnit v4 has breaking changes compared to v3.
* NUnit.Analyzer has rules and associated code fixes. This must be done while working on v3. The analyzers only run when the code compiles.
  • Loading branch information
axunonb committed Jan 7, 2024
1 parent f09c0bd commit ea2140c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SmartFormat.Tests/SmartFormat.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit" Version="4.0.1" />
<PackageReference Include="NUnit.Analyzers" Version="3.10.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down

0 comments on commit ea2140c

Please sign in to comment.