Releases: dsccommunity/DscResource.Test
Releases · dsccommunity/DscResource.Test
v0.16.2-preview0002
[v0.16.2-preview0002]
Added
Restore-TestEnvironment
- A new parameter
KeepNewMachinePSModulePath
was added and only works
if the test type isIntegration
orAll
. The new parameter will
keep any new paths that was added to the machine environment variable
PSModulePath
after the commandInitialize-TestEnvironment
was called.
This is helpful if a a path is added by an integration test and is needed
by a second integration test and there is a need to runRestore-TestEnvironment
between tests.
- A new parameter
- Added private function
Join-PSModulePath
that will concatenate two
strings with semi-colon separated paths.
Fixed
Initialize-TestEnvironment
- Now
$script:machineOldPSModulePath
is always set when called with the
test typeIntegration
orAll
. Before it reverted to the paths on the
eventOnRemove
that were the current paths whenInitialize-TestEnvironment
was first called. On subsequent calls any new paths were ignored. - If there are a subsequent call to
Initialize-TestEnvironment
without the
commandRestore-TestEnvironment
was called prior the command will now
fail with a non-terminating exception asking the user to runRestore-TestEnvironment
to avoid the previously saved paths ($script:machineOldPSModulePath
)
to be overwritten.
- Now
v0.16.2-preview0001
[v0.16.2-preview0001]
v0.16.1
[v0.16.1]
Changed
- Updated pipeline to use the latest build and pipeline files from Sampler.
Fixed
- Now the pipeline will fail if the Pester discovery phase fails. Prior
if discovery failed the pipeline still passed (issue #112).
v0.16.1-preview0002
[v0.16.1-preview0002]
Changed
- Updated pipeline to use the latest build and pipeline files from Sampler.
Fixed
- Now the pipeline will fail if the Pester discovery phase fails. Prior
if discovery failed the pipeline still passed (issue #112).
v0.16.1-preview0001
[v0.16.1-preview0001]
Changed
- Updated pipeline to use the latest build and pipeline files from Sampler.
v0.16.0
[v0.16.0]
Added
- Added support for examples for LCM Meta Configurations to
Test-ConfigurationName
(issue #116).
v0.16.0-preview0001
[v0.16.0-preview0001]
Added
- Added support for examples for LCM Meta Configurations to
Test-ConfigurationName
(issue #116).
Changed
- Refactoring all tasks to initialise variable with
Set-SamplerTaskVariable
script (issue #110). - Now the data for the Pester containers are cloned to not hit the issue
Using same data with two or more containers fail.
v0.15.2
[v0.15.2]
Changed
- Refactoring all tasks to initialise variable with
Set-SamplerTaskVariable
script (issue #110). - Now the data for the Pester containers are cloned to not hit the issue
Using same data with two or more containers fail.
v0.15.2-preview0002
[v0.15.2-preview0002]
Changed
- Refactoring all tasks to initialise variable with
Set-SamplerTaskVariable
script (issue #110). - Now the data for the Pester containers are cloned to not hit the issue
Using same data with two or more containers fail.
v0.15.2-preview0001
[v0.15.2-preview0001]
Changed
- Refactoring all tasks to initialise variable with
Set-SamplerTaskVariable
script (issue #110).