Closed corbob closed 2 months ago
Enhance the local testing setup to allow faster writing and iterating on Pester tests
The existing setup required rebuilding the Chocolatey CLI package every time you wanted to test changes to tests.
tests
vagrant up
vagrant provision default --provision-with test
vagrant provision default --provision-with clear-packages,test
clear-packages
test
N/A
@corbob thank you for making these improvements!
Description Of Changes
Enhance the local testing setup to allow faster writing and iterating on Pester tests
Motivation and Context
The existing setup required rebuilding the Chocolatey CLI package every time you wanted to test changes to tests.
Testing
tests
directory runvagrant up
vagrant provision default --provision-with test
.vagrant provision default --provision-with clear-packages,test
.clear-packages
provisioning script runs, followed by the test packages being packaged during thetest
provisioning script.Operating Systems Testing
Change Types Made
Change Checklist
Related Issue
N/A