[lang-ref] Parametrized test ( powershell )
It 'should perform parametrized test' -ForEach @(
@{ value = 1; Expected = $false }
@{ value = 2; Expected = $true }
@{ value = 3; Expected = $false }
@{ value = 4; Expected = $true }
) {
# It .. -ForEach @(...)
($value % 2 -eq 0) | Should -Be $expected
}