-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Update PSDesiredStateConfiguration to 2.0.3 and bring new tests. #10516
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
test/powershell/Modules/PSDesiredStateConfiguration/PSDesiredStateConfiguration.Tests.ps1
Show resolved
Hide resolved
test/powershell/Modules/PSDesiredStateConfiguration/PSDesiredStateConfiguration.Tests.ps1
Show resolved
Hide resolved
test/powershell/Modules/PSDesiredStateConfiguration/PSDesiredStateConfiguration.Tests.ps1
Show resolved
Hide resolved
test/powershell/Modules/PSDesiredStateConfiguration/PSDesiredStateConfiguration.Tests.ps1
Outdated
Show resolved
Hide resolved
| It "The module should have $expectedCommandCount commands" { | ||
| if($commands.Count -ne $expectedCommandCount) | ||
| { | ||
| $modulePath = (Get-Module PSDesiredStateConfiguration).Path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider creating a custom Pester assert instead of this debugging code, see https://github.com/PowerShell/PowerShell/pull/10228/files#diff-dd4e6955f1eab52dcef94ce16dc3c3a5R137 for an example
test/powershell/Modules/PSDesiredStateConfiguration/PSDesiredStateConfiguration.Tests.ps1
Show resolved
Hide resolved
test/powershell/Modules/PSDesiredStateConfiguration/PSDesiredStateConfiguration.Tests.ps1
Show resolved
Hide resolved
test/powershell/Modules/PSDesiredStateConfiguration/PSDesiredStateConfiguration.Tests.ps1
Show resolved
Hide resolved
test/powershell/Modules/PSDesiredStateConfiguration/PSDesiredStateConfiguration.Tests.ps1
Show resolved
Hide resolved
test/powershell/Modules/PSDesiredStateConfiguration/PSDesiredStateConfiguration.Tests.ps1
Show resolved
Hide resolved
…tateConfiguration.Tests.ps1 Co-Authored-By: Steve Lee <slee@microsoft.com>
…tateConfiguration.Tests.ps1
|
@SteveL-MSFT Filed Issue 33 in PSDesiredStateConfiguration to address most of your comments as they are for code that does not live in this repo. |
7722bc2 to
efe3bcb
Compare
efe3bcb to
5e4298b
Compare
5e4298b to
e9af03e
Compare
|
Hello @TravisEz13! Because this pull request has the Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 24 hours, a condition that will be fulfilled in about 21 hours 42 minutes. No worries though, I will be back when the time is right! 😉 p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
|
@PoshChan Please remind me in 30 minutes. |
|
@TravisEz13 the URL (Actual URL removed by @TravisEz13) in comment gives a 404 error. |
|
@mi-hol PSDesiredStateConfiguration is closed source. This is expected unless you are a member of that project. I've removed the actual URL in my comment and yours to avoid future confusion. |
|
@TravisEz13, this is the reminder you requested 30 minutes. ago |
|
🎉 Handy links: |
PR Summary
Update PSDesiredStateConfiguration to 2.0.3 and bring new tests.
PR Context
Adds Invoke-DscResource as an experimental feature and fixes to Get-DscResource
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.