Skip to content

Releases: dsccommunity/DscResource.Test

v0.16.2-preview0002

17 May 15:57
b73c287
Compare
Choose a tag to compare
v0.16.2-preview0002 Pre-release
Pre-release

[v0.16.2-preview0002]

Added

  • Restore-TestEnvironment
    • A new parameter KeepNewMachinePSModulePath was added and only works
      if the test type is Integration or All. The new parameter will
      keep any new paths that was added to the machine environment variable
      PSModulePath after the command Initialize-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 run Restore-TestEnvironment
      between tests.
  • 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 type Integration or All. Before it reverted to the paths on the
      event OnRemove that were the current paths when Initialize-TestEnvironment
      was first called. On subsequent calls any new paths were ignored.
    • If there are a subsequent call to Initialize-TestEnvironment without the
      command Restore-TestEnvironment was called prior the command will now
      fail with a non-terminating exception asking the user to run Restore-TestEnvironment
      to avoid the previously saved paths ($script:machineOldPSModulePath)
      to be overwritten.

v0.16.2-preview0001

01 Aug 08:22
73d6c32
Compare
Choose a tag to compare
v0.16.2-preview0001 Pre-release
Pre-release

[v0.16.2-preview0001]

v0.16.1

20 Apr 09:13
7096844
Compare
Choose a tag to compare

[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

20 Apr 08:57
7096844
Compare
Choose a tag to compare
v0.16.1-preview0002 Pre-release
Pre-release

[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

18 Apr 14:13
1a281ab
Compare
Choose a tag to compare
v0.16.1-preview0001 Pre-release
Pre-release

[v0.16.1-preview0001]

Changed

  • Updated pipeline to use the latest build and pipeline files from Sampler.

v0.16.0

11 Sep 07:23
604ed19
Compare
Choose a tag to compare

[v0.16.0]

Added

  • Added support for examples for LCM Meta Configurations to
    Test-ConfigurationName (issue #116).

v0.16.0-preview0001

11 Sep 07:09
69bfb99
Compare
Choose a tag to compare
v0.16.0-preview0001 Pre-release
Pre-release

[v0.16.0-preview0001]

Added

  • Added support for examples for LCM Meta Configurations to
    Test-ConfigurationName (issue #116).

Changed

v0.15.2

08 Sep 09:02
9c24b35
Compare
Choose a tag to compare

[v0.15.2]

Changed

v0.15.2-preview0002

08 Sep 08:52
9c24b35
Compare
Choose a tag to compare
v0.15.2-preview0002 Pre-release
Pre-release

[v0.15.2-preview0002]

Changed

v0.15.2-preview0001

09 Jun 15:08
d2ced82
Compare
Choose a tag to compare
v0.15.2-preview0001 Pre-release
Pre-release

[v0.15.2-preview0001]

Changed

  • Refactoring all tasks to initialise variable with Set-SamplerTaskVariable script (issue #110).