Skip to content

Commit 41bc33d

Browse files
committed
Use the regular dotnet test command invocation
1 parent b56af24 commit 41bc33d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,4 @@ FakesAssemblies/
201201
project.lock.json
202202

203203
artifacts/
204+
/test/TestApp-*

Build.ps1

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ if($LASTEXITCODE -ne 0) { throw 'pack failed' }
3030

3131
Write-Output "build: Testing"
3232

33-
# Dotnet test doesn't run separate TargetFrameworks in parallel: https://github.com/dotnet/sdk/issues/19147
34-
# Workaround: use `dotnet test` on dlls directly in order to pass the `--parallel` option to vstest.
35-
# The _reported_ runtime is wrong but the _actual_ used runtime is correct, see https://github.com/microsoft/vstest/issues/2037#issuecomment-720549173
36-
& dotnet test test\Serilog.Settings.Configuration.Tests\bin\Release\*\Serilog.Settings.Configuration.Tests.dll --parallel
33+
& dotnet test test\Serilog.Settings.Configuration.Tests\Serilog.Settings.Configuration.Tests.csproj
3734

38-
if($LASTEXITCODE -ne 0) { throw 'unit tests failed' }
35+
if($LASTEXITCODE -ne 0) { throw 'unit tests failed' }

0 commit comments

Comments
 (0)