Releases: dsccommunity/DscResource.Test
Releases · dsccommunity/DscResource.Test
v0.17.0-preview0006
[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.
- Add
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.
- Not required as already in
v0.17.0-preview0005
[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.
- Add
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
[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.
- Add
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
[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.
- Add
Get-InvalidResultRecord.Tests
- Remove test that referenced previous alias
Added
Get-InvalidArgumentRecord
- Add function and test
v0.17.0-preview0002
[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
[v0.17.0-preview0001]
Added
Get-InvalidArgumentRecord
- Add function and test
Changed
Get-InvalidResultRecord.Tests
- Remove test that referenced previous alias
v0.16.3
[v0.16.3]
Added
Get-SystemExceptionRecord
- Added private command fixes ([Issue #126]).
- Public command
Get-ObjectNotFoundRecord
- Use private function
Get-SystemExceptionRecord
.
- Use private function
Changed
Get-InvalidOperationRecord
- Use private function
Get-SystemExceptionRecord
.
- Use private function
Get-InvalidResultRecord
- Removed alias
Get-ObjectNotFoundRecord
and added as it's own public command.
- Removed alias
PSSAResource.common.v4.Tests
- Fixed rule suppression by using correct variable.
Fixed
azure-pipelines
- Pin gitversion to V5.
v0.16.3-preview0002
[v0.16.3-preview0002]
Added
Get-SystemExceptionRecord
- Added private command fixes ([Issue #126]).
- Public command
Get-ObjectNotFoundRecord
- Use private function
Get-SystemExceptionRecord
.
- Use private function
Changed
Get-InvalidOperationRecord
- Use private function
Get-SystemExceptionRecord
.
- Use private function
Get-InvalidResultRecord
- Removed alias
Get-ObjectNotFoundRecord
and added as it's own public command.
- Removed alias
PSSAResource.common.v4.Tests
- Fixed rule suppression by using correct variable.
Fixed
azure-pipelines
- Pin gitversion to V5.
v0.16.3-preview0001
[v0.16.3-preview0001]
Added
Get-SystemExceptionRecord
- Added private command fixes ([Issue #126]).
- Public command
Get-ObjectNotFoundRecord
- Use private function
Get-SystemExceptionRecord
.
- Use private function
Changed
Get-InvalidOperationRecord
- Use private function
Get-SystemExceptionRecord
.
- Use private function
Get-InvalidResultRecord
- Removed alias
Get-ObjectNotFoundRecord
and added as it's own public command.
- Removed alias
Fixed
azure-pipelines
- Pin gitversion to V5.
v0.16.2
[v0.16.2]
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