Update Pester to 6.0.0#545
Build #9.1.1-PR0545.6 had test failures
Details
- Failed: 3 (0.03%)
- Passed: 9,341 (99.96%)
- Other: 1 (0.01%)
- Total: 9,345
- 30 of 30 class covered (100.00%)
- 3261 of 3324 instruction covered (98.10%)
- 2133 of 2183 line covered (97.71%)
- 153 of 155 method covered (98.71%)
Annotations
Check failure on line 129 in Build log
azure-pipelines / dsccommunity.NetworkingDsc
Build log #L129
[-] Should have CHANGELOG.md in the diff 267ms
Check failure on line 3404 in Build log
azure-pipelines / dsccommunity.NetworkingDsc
Build log #L3404
[-] Should pass all required PS Script Analyzer rules 33ms
Check failure on line 5523 in Build log
azure-pipelines / dsccommunity.NetworkingDsc
Build log #L5523
[-] Should pass all custom DSC Resource Kit PSSA rules 11ms
Check failure on line 6621 in Build log
azure-pipelines / dsccommunity.NetworkingDsc
Build log #L6621
PowerShell exited with code '1'.
azure-pipelines / dsccommunity.NetworkingDsc
Changelog Management.When there is a git diff.Should have CHANGELOG.md in the diff
Expected a value, because the changelog should have at least one entry for every pull request, but got $null or empty.
Raw output
at } | Should -Not -BeNullOrEmpty -Because 'the changelog should have at least one entry for every pull request', D:\a\1\s\output\RequiredModules\DscResource.Test\0.19.0\Tests\QA\Changelog.common.v5.Tests.ps1:82
azure-pipelines / dsccommunity.NetworkingDsc
Common Tests - PS Script Analyzer on Source Files.When file 'source\DSCResources\DSC_IPAddress\DSC_IPAddress.psm1' exists.Should pass all required PS Script Analyzer rules
Expected an empty collection, because Required Rule(s) triggered.
RuleName Severity ScriptName Line Message
-------- -------- ---------- ---- -------
PSAvoidDefaultValueForMandatoryParameter Warning DSC_IPAddress.psm1 45 Mandatory Parameter 'AddressFamily'
is initialized in the Param block.
To fix a violation of this rule,
please leave it uninitialized.
PSAvoidDefaultValueForMandatoryParameter Warning DSC_IPAddress.psm1 112 Mandatory Parameter 'AddressFamily'
is initialized in the Param block.
To fix a violation of this rule,
please leave it uninitialized.
PSAvoidDefaultValueForMandatoryParameter Warning DSC_IPAddress.psm1 301 Mandatory Parameter 'AddressFamily'
is initialized in the Param block.
To fix a violation of this rule,
please leave it uninitialized., but got collection with size 3 @(Mandatory Parameter 'AddressFamily' is initialized in the Param block. To fix a violation of this rule, please leave it uninitialized., Mandatory Parameter 'AddressFamily' is initialized in the Param block. To fix a violation of this rule, please leave it uninitialized., Mandatory Parameter 'AddressFamily' is initialized in the Param block. To fix a violation of this rule, please leave it uninitialized.).
Raw output
at $requiredPssaRulesOutput | Should -HaveCount 0 -Because "Required Rule(s) triggered.`r`n`r`n $report`r`n", D:\a\1\s\output\RequiredModules\DscResource.Test\0.19.0\Tests\QA\PSSAResource.common.v5.Tests.ps1:186
azure-pipelines / dsccommunity.NetworkingDsc
Common Tests - PS Script Analyzer on Source Files.When file 'source\Examples\Resources\NetworkTeamInterface\2-NetworkTeamInterface_RemoveInterface_Config.ps1' exists.Should pass all custom DSC Resource Kit PSSA rules
Expected an empty collection, because Custom Error-level Rule(s) triggered.
RuleName Severity ScriptName Line Message
-------- -------- ---------- ---- -------
Measure-Hashtable Warning 2-NetworkTeamInterface_RemoveInterface_Config.ps1 31 Hashtable is not correctly
formatted. See https://githu
b.com/PowerShell/DscResource
s/blob/master/StyleGuideline
s.md#correct-format-for-hash
tables-or-objects, but got collection with size 1 @(Hashtable is not correctly formatted. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-hashtables-or-objects).
Raw output
at $DSCCustomRulesOutput | Should -HaveCount 0 -Because "Custom Error-level Rule(s) triggered.`r`n`r`n $report`r`n", D:\a\1\s\output\RequiredModules\DscResource.Test\0.19.0\Tests\QA\PSSAResource.common.v5.Tests.ps1:213