File tree 1 file changed +4
-0
lines changed 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,13 @@ $packageReference = $project.SelectSingleNode("/Project/ItemGroup/PackageReferen
20
20
$consoleRunnerVersion = $packageReference.GetAttribute (" Version" )
21
21
22
22
$NUnitConsoleRunner = Join-Path $nugetPackagesDir " nunit.consolerunner" $consoleRunnerVersion " tools" " nunit3-console.exe"
23
+ $NUnitConsoleRunnerExists = Test-Path $NUnitConsoleRunner - PathType Leaf
23
24
24
25
# Get the OutputPath
25
26
$targetFramework = $project.SelectSingleNode (" /Project/PropertyGroup/TargetFramework" )
26
27
$OutputDir = Join-Path " UnitTests" " bin" $Configuration $targetFramework.InnerText
27
28
$UnitTestsAssembly = Join-Path $OutputDir " UnitTests.dll"
29
+ $UnitTestsAssemblyExists = Test-Path $UnitTestsAssembly - PathType Leaf
28
30
29
31
if ($GenerateCodeCoverage -eq ' true' ) {
30
32
Write-Output " Instrumenting code..."
@@ -34,5 +36,7 @@ if ($GenerateCodeCoverage -eq 'true') {
34
36
}
35
37
36
38
Write-Output " Running the UnitTests"
39
+ Write-Output " Console Runner: ${NUnitConsoleRunner} ${NUnitConsoleRunnerExists} "
40
+ Write-Output " Assembly: ${UnitTestsAssembly} ${UnitTestsAssemblyExists} "
37
41
38
42
& $NUnitConsoleRunner -- domain:single $UnitTestsAssembly
You can’t perform that action at this time.
0 commit comments