Update run-tests.ps1 to work with dotnet test command - SQLite tests don't run properly though

This commit is contained in:
Rikki Tooley 2018-12-26 12:58:11 +00:00
parent d05b1239dd
commit e4120a5c84

View File

@ -1,3 +1,11 @@
$testPaths = "src\IF.Lastfm.Core.Tests\bin\Release\IF.Lastfm.Core.Tests.dll src\IF.Lastfm.Core.Tests.Integration\bin\Release\IF.Lastfm.Core.Tests.Integration.dll src\IF.Lastfm.SQLite.Tests.Integration\bin\Release\IF.Lastfm.SQLite.Tests.Integration.dll" $ErrorActionPreference = 'Continue'
nunit-console src\IF.Lastfm.Core.Tests\bin\Release\netcoreapp2.1\IF.Lastfm.Core.Tests.dll src\IF.Lastfm.Core.Tests.Integration\bin\Release\netcoreapp2.1\IF.Lastfm.Core.Tests.Integration.dll src\IF.Lastfm.SQLite.Tests.Integration\bin\Release\netcoreapp2.1\IF.Lastfm.SQLite.Tests.Integration.dll $testPaths = @(
"src\IF.Lastfm.Core.Tests\",
"src\IF.Lastfm.Core.Tests.Integration\",
"src\IF.Lastfm.SQLite.Tests.Integration\"
)
foreach ($path in $testPaths) {
dotnet test $path
}