Skip to content

Commit a8d80d3

Browse files
committed
Migrate unit and integration tests from Xunit to NUnit and update test dependencies.
1 parent 55a4ee6 commit a8d80d3

10 files changed

Lines changed: 618 additions & 622 deletions

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ jobs:
5151
run: docker compose -f Monero.IntegrationTests/docker-compose.yml down -v
5252

5353
- name: Upload coverage report
54-
uses: actions/upload-artifact@v4
54+
uses: actions/upload-artifact@v7
5555
with:
5656
name: coverage-report
5757
path: coverage/dotcover.xml
5858

5959
- name: Upload NuGet package
60-
uses: actions/upload-artifact@v4
60+
uses: actions/upload-artifact@v7
6161
with:
6262
name: nuget-package-${{ github.sha }}
6363
path: nuget-packages/MoneroNet.1.0.0.nupkg

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
dotnet validate package local nuget-packages/MoneroNet.${{ env.VERSION }}.nupkg
4545
4646
- name: Upload NuGet package
47-
uses: actions/upload-artifact@v4
47+
uses: actions/upload-artifact@v7
4848
with:
4949
name: nuget-package-${{ github.sha }}
5050
path: nuget-packages/MoneroNet.${{ env.VERSION }}.nupkg

Monero.IntegrationTests/Monero.IntegrationTests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<ItemGroup>
1313
<PackageReference Include="coverlet.collector" Version="8.0.1"/>
1414
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.3.0"/>
15-
<PackageReference Include="xunit.v3" Version="3.2.2"/>
16-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5"/>
15+
<PackageReference Include="NUnit" Version="4.5.1" />
16+
<PackageReference Include="NUnit3TestAdapter" Version="6.2.0" />
1717
</ItemGroup>
1818

1919
<ItemGroup>

0 commit comments

Comments
 (0)