Hi *,
I have a Pester test with Test-ModuleManifest throwing an error now (worked before).
Very strange: it seems that it is an issue also connected to AppVeyor as it works locally.
The issue:
Context "Integrated Manifest Test" {
Write-Host "ModuleManifestPath: $ModuleManifestPath"
It 'Passes Test-ModuleManifest' {
$null = Test-ModuleManifest -Path $ModuleManifestPath -ErrorAction Stop -WarningAction SilentlyContinue | Should -Not -Throw
}
}
This throws an error about -Path cant be bound as it is null.
Funny: my debugging output just outside of It is working fine and returning the right Path to my Manifest which is defined on top of all tests.
Any ideas?
Thanks,
M.