Skip to content

Releases: dsccommunity/DscResource.Test

v0.17.0-preview0006

25 Nov 18:07
9e255ee
Compare
Choose a tag to compare
v0.17.0-preview0006 Pre-release
Pre-release

[v0.17.0-preview0006]

Changed

  • PSSAResource.common.v4.Tests
    • Only target source files.
  • PSSAResource.common.v5.Tests
    • Only target source files.
  • MarkdownLinks.common.v4.Tests
    • Only target source files and moduleroot.
  • MarkdownLinks.common.v5.Tests
    • Only target source files and moduleroot.
  • Resolve-Dependency.psd1
    • Enable ModuleFast and PSResourceGet.
  • build.yaml
    • Add BuiltModuleSubdirectory and update task to suit.
  • Get-InvalidResultRecord.Tests
    • Remove test that referenced previous alias
  • Project files to latest community versions.
    • Resolve-Dependency.ps1
    • Required-Modules.psd1
    • GitVersion.yml
    • build.yml
  • Migrated Unit/Integration tests to Pester 5.

Added

  • Get-InvalidArgumentRecord
    • Add function and test

Removed

  • build.psd1 as not required.
  • cspell.json
  • Set-PSModulePath
    • Not required as already in DscResource.Common fixes #145.

v0.17.0-preview0005

24 Nov 16:16
c159e76
Compare
Choose a tag to compare
v0.17.0-preview0005 Pre-release
Pre-release

[v0.17.0-preview0005]

Changed

  • PSSAResource.common.v4.Tests
    • Only target source files.
  • PSSAResource.common.v5.Tests
    • Only target source files.
  • MarkdownLinks.common.v4.Tests
    • Only target source files and moduleroot.
  • MarkdownLinks.common.v5.Tests
    • Only target source files and moduleroot.
  • Resolve-Dependency.psd1
    • Enable ModuleFast and PSResourceGet.
  • build.yaml
    • Add BuiltModuleSubdirectory and update task to suit.
  • Get-InvalidResultRecord.Tests
    • Remove test that referenced previous alias
  • Project files to latest community versions.
    • Resolve-Dependency.ps1
    • Required-Modules.psd1
    • GitVersion.yml
    • build.yml
  • Migrated Unit/Integration tests to Pester 5.

Added

  • Get-InvalidArgumentRecord
    • Add function and test

Removed

  • build.psd1 as not required.
  • cspell.json

v0.17.0-preview0004

10 Oct 18:23
14acda0
Compare
Choose a tag to compare
v0.17.0-preview0004 Pre-release
Pre-release

[v0.17.0-preview0004]

Changed

  • PSSAResource.common.v4.Tests
    • Only target source files.
  • PSSAResource.common.v5.Tests
    • Only target source files.
  • MarkdownLinks.common.v4.Tests
    • Only target source files and moduleroot.
  • MarkdownLinks.common.v5.Tests
    • Only target source files and moduleroot.
  • Resolve-Dependency.psd1
    • Enable ModuleFast and PSResourceGet.
  • build.yaml
    • Add BuiltModuleSubdirectory and update task to suit.
  • Get-InvalidResultRecord.Tests
    • Remove test that referenced previous alias
  • Project files to latest community versions.
    • Resolve-Dependency.ps1
    • Required-Modules.psd1
    • GitVersion.yml
    • build.yml

Added

  • Get-InvalidArgumentRecord
    • Add function and test

Removed

  • build.psd1 as not required.
  • cspell.json

v0.17.0-preview0003

09 Oct 11:29
2f9ab48
Compare
Choose a tag to compare
v0.17.0-preview0003 Pre-release
Pre-release

[v0.17.0-preview0003]

Changed

  • PSSAResource.common.v4.Tests
    • Only target source files.
  • PSSAResource.common.v5.Tests
    • Only target source files.
  • MarkdownLinks.common.v4.Tests
    • Only target source files and moduleroot.
  • MarkdownLinks.common.v5.Tests
    • Only target source files and moduleroot.
  • Resolve-Dependency.psd1
    • Enable ModuleFast and PSResourceGet.
  • build.yaml
    • Add BuiltModuleSubdirectory and update task to suit.
  • Get-InvalidResultRecord.Tests
    • Remove test that referenced previous alias

Added

  • Get-InvalidArgumentRecord
    • Add function and test

v0.17.0-preview0002

09 Oct 08:40
d29c880
Compare
Choose a tag to compare
v0.17.0-preview0002 Pre-release
Pre-release

[v0.17.0-preview0002]

Added

  • Get-InvalidArgumentRecord
    • Add function and test

Changed

  • Get-InvalidResultRecord.Tests
    • Remove test that referenced previous alias

v0.17.0-preview0001

29 Sep 15:03
3011179
Compare
Choose a tag to compare
v0.17.0-preview0001 Pre-release
Pre-release

[v0.17.0-preview0001]

Added

  • Get-InvalidArgumentRecord
    • Add function and test

Changed

  • Get-InvalidResultRecord.Tests
    • Remove test that referenced previous alias

v0.16.3

29 Aug 19:18
ccfded1
Compare
Choose a tag to compare

[v0.16.3]

Added

  • Get-SystemExceptionRecord
    • Added private command fixes ([Issue #126]).
  • Public command Get-ObjectNotFoundRecord
    • Use private function Get-SystemExceptionRecord.

Changed

  • Get-InvalidOperationRecord
    • Use private function Get-SystemExceptionRecord.
  • Get-InvalidResultRecord
    • Removed alias Get-ObjectNotFoundRecord and added as it's own public command.
  • PSSAResource.common.v4.Tests
    • Fixed rule suppression by using correct variable.

Fixed

  • azure-pipelines
    • Pin gitversion to V5.

v0.16.3-preview0002

14 Aug 10:14
ccfded1
Compare
Choose a tag to compare
v0.16.3-preview0002 Pre-release
Pre-release

[v0.16.3-preview0002]

Added

  • Get-SystemExceptionRecord
    • Added private command fixes ([Issue #126]).
  • Public command Get-ObjectNotFoundRecord
    • Use private function Get-SystemExceptionRecord.

Changed

  • Get-InvalidOperationRecord
    • Use private function Get-SystemExceptionRecord.
  • Get-InvalidResultRecord
    • Removed alias Get-ObjectNotFoundRecord and added as it's own public command.
  • PSSAResource.common.v4.Tests
    • Fixed rule suppression by using correct variable.

Fixed

  • azure-pipelines
    • Pin gitversion to V5.

v0.16.3-preview0001

13 Aug 19:08
780a5f1
Compare
Choose a tag to compare
v0.16.3-preview0001 Pre-release
Pre-release

[v0.16.3-preview0001]

Added

  • Get-SystemExceptionRecord
    • Added private command fixes ([Issue #126]).
  • Public command Get-ObjectNotFoundRecord
    • Use private function Get-SystemExceptionRecord.

Changed

  • Get-InvalidOperationRecord
    • Use private function Get-SystemExceptionRecord.
  • Get-InvalidResultRecord
    • Removed alias Get-ObjectNotFoundRecord and added as it's own public command.

Fixed

  • azure-pipelines
    • Pin gitversion to V5.

v0.16.2

18 May 17:26
b73c287
Compare
Choose a tag to compare

[v0.16.2]

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.