-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoke-PSDepend -Test / Test-Dependency should indicate when a dependency isn't installed #87
Comments
Hi! Can you try running through Also... the test piece is sort of ugly and relies on the dependency script handling test output correctly, so... there's definitely a chance something could go wrong : ) Cheers! |
Hi! Confirmed, the new DependencyExists property on each object was hidden by the format. PR to follow. Also, the test value is still incorrect for my npm dependency, but the PSGalleryModule dependencies are yielding valid test results. Thanks! |
When I run either
Invoke-PSDepend -Test
orGet-Dependency | Test-Dependency
, the output does not indicate whether the dependency is installed or not. I get the same results in Windows PowerShell 5.1 as PowerShell Core 6.0.2.If I run
Test-Dependency -Quiet
, the Boolean indicator is correct for all PSGalleryModule dependencies, but my npm package that is installed in global scope is not.For the following tests, the Coveralls module is uninstalled, and all others are installed correctly.
Example 1a: Invoke-PSDepend -Test
Example 1b: Test-Dependency
Example 2: Test-Dependency -Quiet
Example 3: Test-Dependency -Verbose
PSDepend Version
The text was updated successfully, but these errors were encountered: