WIP: Add Reasons to Block and Test Results #2607
Build #20250109.3 had test failures
Details
- Failed: 21 (0.14%)
- Passed: 14,664 (98.22%)
- Other: 245 (1.64%)
- Total: 14,930
Annotations
Check failure on line 4511 in Build log
azure-pipelines / Pester PR
Build log #L4511
[-] Testing module help.Function Context.All static parameters have description 9ms (8ms|1ms)
Check failure on line 4515 in Build log
azure-pipelines / Pester PR
Build log #L4515
[-] Testing module help.Function Describe.All static parameters have description 8ms (6ms|1ms)
Check failure on line 4534 in Build log
azure-pipelines / Pester PR
Build log #L4534
[-] Testing Set-ItResult.Set-ItResult appends the -Because reason to the message 6ms (5ms|1ms)
Check failure on line 4609 in Build log
azure-pipelines / Pester PR
Build log #L4609
PowerShell exited with code '1'.
azure-pipelines / Pester PR
Testing module help.Function Context.All static parameters have description
Expected $null, but got 'Reason'.
Raw output
at $parametersMissingHelp | Should -Be @(), /home/vsts/work/1/s/tst/Help.Tests.ps1:57
at <ScriptBlock>, /home/vsts/work/1/s/tst/Help.Tests.ps1:57
azure-pipelines / Pester PR
Testing module help.Function Describe.All static parameters have description
Expected $null, but got 'Reason'.
Raw output
at $parametersMissingHelp | Should -Be @(), /home/vsts/work/1/s/tst/Help.Tests.ps1:57
at <ScriptBlock>, /home/vsts/work/1/s/tst/Help.Tests.ps1:57
azure-pipelines / Pester PR
Testing module help.Function Context.All static parameters have description
Expected $null, but got 'Reason'.
Raw output
at $parametersMissingHelp | Should -Be @(), /Users/runner/work/1/s/tst/Help.Tests.ps1:57
at <ScriptBlock>, /Users/runner/work/1/s/tst/Help.Tests.ps1:57
azure-pipelines / Pester PR
Testing Set-ItResult.Set-ItResult appends the -Because reason to the message
Expected strings to be the same, but they were different.
Expected length: 45
Actual length: 25
Strings differ at index 0.
Expected: 'is skipped, because we are forcing it to skip'
But was: 'we are forcing it to skip'
^
Raw output
at $_.Exception.Message | Should -Be "is skipped, because we are forcing it to skip", /home/vsts/work/1/s/tst/functions/Set-ItResult.Tests.ps1:27
at <ScriptBlock>, /home/vsts/work/1/s/tst/functions/Set-ItResult.Tests.ps1:27