You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(#260): enhance output handling in integration tests
- replace output joining with Get-NovaPublicCommandIntegrationOutputText for better formatting
- normalize whitespace in output assertions for consistency
($result.Output-join [Environment]::NewLine) | Should -Match'ScriptBlock and other container types are not supported'
65
+
(Get-NovaPublicCommandIntegrationOutputText-Output $result.Output-NormalizeWhitespace) | Should -Match'ScriptBlock and other container types are not supported'
66
66
}
67
67
68
68
It 'rejects unsupported override shapes from the built module' {
$result.ExitCode| Should -Be 0-Because ($result.Output-join [Environment]::NewLine)
49
-
($result.Output-join [Environment]::NewLine) | Should -Match"No build-validation integration tests matching '\*\.Integration\.Tests\.ps1' were discovered for NovaExampleModule\."
48
+
$result.ExitCode| Should -Be 0-Because (Get-NovaPublicCommandIntegrationOutputText-Output $result.Output)
49
+
(Get-NovaPublicCommandIntegrationOutputText-Output $result.Output-NormalizeWhitespace) | Should -Match"No build-validation integration tests matching '\*\.Integration\.Tests\.ps1' were discovered for NovaExampleModule\."
50
50
}
51
51
52
52
It 'passes for a scaffolded example whose project name differs from the packaged template name' {
0 commit comments