fix pester verbosity config #58

Merged
OCram85 merged 2 commits from fixPesterStep into master 2022-06-28 09:52:29 +02:00
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ steps:
pwsh -NonInteractive -c "& {
Import-Module './tools/DroneIO.psm1';
Invoke-InstallDependencies;
Invoke-UnitTest
Invoke-UnitTest -Verbosity 'Detailed'
}"
- name: coverage

2
.vscode/tasks.json vendored
View File

@ -88,7 +88,7 @@
"Remove-Item ./coverage.xml -ErrorAction 'SilentlyContinue';",
"Remove-Item ./testResults.xml -ErrorAction 'SilentlyContinue';",
"Import-Module ./tools/DroneIO.psm1;",
"Invoke-UnitTest -CoverageFormat 'CoverageGutters' -Verbosity 'Debug'"
"Invoke-UnitTest -CoverageFormat 'CoverageGutters' -Verbosity 'Diagnostic'"
],
"group": "test",
"problemMatcher": [

View File

@ -114,8 +114,8 @@ function Invoke-Linter {
}
}
catch {
Write-Debug -Message $_.Exception.Message -Debug
Write-Error -Message 'PSScriptAnalyzer failer'
Write-Error -Message $_.Exception.Message -ErrorAction 'Stop'
}
}
}