File tree 2 files changed +12
-11
lines changed
2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 6
6
"version" : " 8.9.3" ,
7
7
"commands" : [
8
8
" altcover"
9
- ]
9
+ ],
10
+ "rollForward" : false
10
11
},
11
12
"coveralls.net" : {
12
13
"version" : " 4.0.1" ,
13
14
"commands" : [
14
15
" csmacnz.Coveralls"
15
- ]
16
+ ],
17
+ "rollForward" : false
18
+ },
19
+ "nunit.consolerunner.netcore" : {
20
+ "version" : " 3.18.3" ,
21
+ "commands" : [
22
+ " nunit"
23
+ ],
24
+ "rollForward" : false
16
25
}
17
26
}
18
27
}
Original file line number Diff line number Diff line change @@ -13,14 +13,6 @@ Write-Output ""
13
13
14
14
[xml ]$project = Get-Content UnitTests\UnitTests.csproj
15
15
16
- $nugetPackagesDir = Join-Path $Home " .nuget" " packages"
17
-
18
- # Get the NUnit.ConsoleRunner executable path
19
- $packageReference = $project.SelectSingleNode (" /Project/ItemGroup/PackageReference[@Include='NUnit.ConsoleRunner']" )
20
- $consoleRunnerVersion = $packageReference.GetAttribute (" Version" )
21
-
22
- $NUnitConsoleRunner = Join-Path $nugetPackagesDir " nunit.consolerunner" $consoleRunnerVersion " tools" " nunit3-console.exe"
23
-
24
16
# Get the OutputPath
25
17
$targetFramework = $project.SelectSingleNode (" /Project/PropertyGroup/TargetFramework" )
26
18
$OutputDir = Join-Path " UnitTests" " bin" $Configuration $targetFramework.InnerText
@@ -35,4 +27,4 @@ if ($GenerateCodeCoverage -eq 'true') {
35
27
36
28
Write-Output " Running the UnitTests"
37
29
38
- & $NUnitConsoleRunner -- domain:single $UnitTestsAssembly
30
+ dotnet nunit -- domain:single $UnitTestsAssembly
You can’t perform that action at this time.
0 commit comments