You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
[v0.14.0]
Added
Added private function Assert-RequiredCommandParameter that throws an
exception if a specified parameter is not assigned a value, and optionally
throws only if a specific parameter is passed. - Issue #92
Added public command Get-DscProperty that returns a hashtable of available
properties for a class-based resource. See comment-based help for more
information.
Added public command Test-DscProperty that returns a true or false
whether a property exist in a class-based resource. See comment-based help
for more information.
Added private function Test-DscPropertyIsAssigned that returns a true
or false whether a property in a class-based resource has a non-null value.
Changed
DscResource.Common
Updated Visual Studio Code project settings to configure testing for Pester 5.
Assert-BoundParameter
Now has a new parameter set that calls Assert-RequiredCommandParameter
which will throw an exception if a specified parameter is not assigned
a value, and optionally throws only if a specific parameter is passed.
Fixed
Fixed unit tests for Assert-ElevatedUser and Test-IsNumericType so
the public function is tested correctly using the exported function.
Fixed unit tests to easier run test both from command line and inside
Visual Studio Code.