-
Notifications
You must be signed in to change notification settings - Fork 0
setting up parity with other providers #21
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
Conversation
Refactored code to be in line with the other providers Refactored the test cases to cover this new or removed functionality Ensured DryRun compatibilityAdded a new helper function to Find-Chocolatey rather then relying on Get-Command Removed all references to Invoke-Expression and replaced with Invoke-Command
DevSetup/Private/Providers/Chocolatey/Install-Chocolatey.ps1
Dismissed
Show dismissed
Hide dismissed
Pester test (On macOS) Results1 353 tests 1 352 ✅ 46s ⏱️ Results for commit 31e1201. ♻️ This comment has been updated with latest results. |
Pester test (On Linux) Results1 353 tests 1 352 ✅ 44s ⏱️ Results for commit 31e1201. ♻️ This comment has been updated with latest results. |
Summary - Pester Test Coverage ReportSummary
Coveragedevsetup - 0%
devsetup/DevSetup - 0%
devsetup/DevSetup/Private/3rdParty - 100%
devsetup/DevSetup/Private/3rdParty/VisualStudio - 100%
devsetup/DevSetup/Private/3rdParty/VisualStudioCode - 100%
devsetup/DevSetup/Private/Commands - 96.4%
devsetup/DevSetup/Private/Enums - 100%
devsetup/DevSetup/Private/Providers/Chocolatey - 100%
devsetup/DevSetup/Private/Providers/Core - 100%
devsetup/DevSetup/Private/Providers/Homebrew - 100%
devsetup/DevSetup/Private/Providers/Powershell - 100%
devsetup/DevSetup/Private/Providers/Scoop - 100%
devsetup/DevSetup/Private/Utils - 97.5%
devsetup/DevSetup/Public - 96.5%
|
The Linux and macOS test cases had some issues with lack of TestDrive and Join-Path
Corrected issue with blank paths on the test cases for linux
Pester test (On Windows) Results1 353 tests 1 352 ✅ 55s ⏱️ Results for commit 31e1201. |
Refactored code to be in line with the other providers
Refactored the test cases to cover this new or removed functionality
Ensured DryRun compatibility
Added a new helper function to Find-Chocolatey rather then relying on Get-Command
Removed all references to Invoke-Expression and replaced with Invoke-Command