diff --git a/images/win/scripts/Tests/PipxPackages.Test.ps1 b/images/win/scripts/Tests/PipxPackages.Test.ps1 index fbb4c596..b41b8f8f 100644 --- a/images/win/scripts/Tests/PipxPackages.Test.ps1 +++ b/images/win/scripts/Tests/PipxPackages.Test.ps1 @@ -1,8 +1,7 @@ Describe "PipxPackages" { $pipxToolset = (Get-ToolsetContent).pipx - foreach($tool in $pipxToolset) { - It "${tool.package}" { - "${tool.cmd}" | Should -ReturnZeroExitCode - } + $testCases = $pipxToolset | ForEach-Object { @{package = $_.package; cmd = $_.cmd} } + It "" -TestCases $testCases { + "$cmd" | Should -ReturnZeroExitCode } } \ No newline at end of file