Skip to content

Commit c35b8d7

Browse files
committed
Migrate the unit test project to Microsoft.Testing.Platform
1 parent f5f097f commit c35b8d7

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
2323
# Perform unit tests
2424
- name: Perform unit tests
25-
run: dotnet run --project ./Tests --noresult --labels=All
25+
run: dotnet run --project ./Tests/BlazorMixApps.Test.csproj

Tests/BlazorMixApps.Test.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<IsPackable>false</IsPackable>
9-
<GenerateProgramFile>false</GenerateProgramFile>
9+
10+
<EnableNUnitRunner>true</EnableNUnitRunner>
11+
<OutputType>Exe</OutputType>
12+
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
1013
</PropertyGroup>
1114

1215
<ItemGroup>
@@ -17,7 +20,6 @@
1720
</PackageReference>
1821
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
1922
<PackageReference Include="NUnit" Version="4.3.2" />
20-
<PackageReference Include="NUnitLite" Version="4.3.2" />
2123
<PackageReference Include="NUnit.Analyzers" Version="4.8.0">
2224
<PrivateAssets>all</PrivateAssets>
2325
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

Tests/Program.cs

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)