Attempting dotnet core tests.

This commit is contained in:
Harrison Deng 2020-02-24 04:05:51 -05:00
parent 321f8ecf79
commit 21de6177f4
2 changed files with 7 additions and 2 deletions

View File

@ -8,7 +8,10 @@
<ItemGroup>
<PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
</ItemGroup>

View File

@ -1,4 +1,6 @@
#!/bin/sh
#Tests
mkdir -p TestFiles
TestFiles/NUnit.Runners/NUnit.ConsoleRunner.3.11.1/tools/nunit3-console.exe "RecrownedGTK.Tests/RecrownedGTK.Tests.csproj" "RecrownedGTK.Tools.Tests/RecrownedGTK.Tools.Tests.csproj" --result=nunit3 --work="TestFiles"
TestFiles/NUnit.Runners/NUnit.ConsoleRunner.3.11.1/tools/nunit3-console.exe "RecrownedGTK.Tests/RecrownedGTK.Tests.csproj" --result=nunit3 --work="TestFiles"
dotnet test --logger:trx "RecrownedGTK.Tools.Tests/RecrownedGTK.Tools.Tests.csproj"