We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
We would really like to have our tests be reported as skipped if they are not applicable to a given platform.
Code which looks like this:
if ($IsWindows) { $script:catalogPath = "" Describe "Test suite for NewFileCatalogAndTestFileCatalogCmdlets" -Tags "CI" { #compare two hashtables function CompareHashTables { param ( $hashTable1, $hashTable2 ) foreach ($key in $hashTable1.keys) { . . .
this means that these tests will only be reported on when run on a windows system. We won't be able to compare test counts across systems.
inspect test/powershell/Modules\Microsoft.PowerShell.Security\FileCatalog.Tests.ps1
test/powershell/Modules\Microsoft.PowerShell.Security\FileCatalog.Tests.ps1
Each test should be reported as skipped during a test run if it is not applicable to the system.
Tests are not reported at all
We would really like to have our tests be reported as skipped if they are not applicable to a given platform.
Code which looks like this:
this means that these tests will only be reported on when run on a windows system. We won't be able to compare test counts across systems.
Steps to reproduce
inspect
test/powershell/Modules\Microsoft.PowerShell.Security\FileCatalog.Tests.ps1Expected behavior
Each test should be reported as skipped during a test run if it is not applicable to the system.
Actual behavior
Tests are not reported at all