v0.14.0-preview0001
Pre-release
Pre-release
[v0.14.0-preview0001]
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- Related to SqlServerDsc Issue #1796.
- Added public function
Test-AccountRequirePassword
that returns true or
false whether an account need a password to be passed - Issue #93- Related to SqlServerDsc Issue #1794.
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.
- Now has a new parameter set that calls
Fixed
- Fixed unit tests for
Assert-ElevatedUser
andTest-IsNumericType
so
the public function is tested correctly using the exported function.