Skip to content

Commit

Permalink
Migrate to Microsoft.Testing.Platform (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubo authored Feb 12, 2025
1 parent fde5285 commit 7438f69
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageVersion Include="NUnit" Version="4.3.2" />
<PackageVersion Include="NUnit.Analyzers" Version="4.6.0" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageVersion Include="NUnit3TestAdapter" Version="5.0.0" />
</ItemGroup>
</Project>
</Project>
4 changes: 4 additions & 0 deletions src/Int256.slnx
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<Solution>
<Folder Name="/Solution Items/" Id="8ec462fd-d22e-90a8-e5ce-7e832ba40c5d">
<File Path="Directory.Build.props" />
<File Path="Directory.Packages.props" />
</Folder>
<Project Path="Nethermind.Int256.Benchmark/Nethermind.Int256.Benchmark.csproj" />
<Project Path="Nethermind.Int256.Test/Nethermind.Int256.Test.csproj" />
<Project Path="Nethermind.Int256/Nethermind.Int256.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion src/Nethermind.Int256.Test/Int256Tests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Numerics;
using FluentAssertions;
using NUnit.Framework;
Expand Down
6 changes: 5 additions & 1 deletion src/Nethermind.Int256.Test/Nethermind.Int256.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>
<EnableNUnitRunner>true</EnableNUnitRunner>
<TestingPlatformCommandLineArguments>$(TestingPlatformCommandLineArguments) --ignore-exit-code 8</TestingPlatformCommandLineArguments>
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
<TestingPlatformShowTestsFailure>true</TestingPlatformShowTestsFailure>
</PropertyGroup>

<ItemGroup>
Expand All @@ -12,7 +17,6 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NUnit3TestAdapter" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 7438f69

Please sign in to comment.