Skip to content

Latest commit

 

History

History
228 lines (136 loc) · 6.71 KB

CHANGELOG.md

File metadata and controls

228 lines (136 loc) · 6.71 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Fixed

  • Fix issue where the use of ScriptsToProcess causes the Initialize-TestEnvironment function to fail (issue #97).

[0.14.2] - 2021-01-05

Fixed

  • Now the path separators are handled correctly in the filter functions WhereModuleFileNotExcluded and WhereSourceFileNotExcluded.

[0.14.1] - 2020-11-12

Fixed

  • Fix Remove Test Manifest has Class based resource in nested modules - Fixes #85

Changed

  • Fix deploy condition in azure-pipelines.yml so that it does not execute unless run from the dsccommunity Azure DevOps org (issue #86).

[0.14.0] - 2020-08-08

Fixed

  • Fixed error in Tests/QA/Changelog.common.Tests.ps1 when Describing Changelog Management (issue #81).

Added

  • Added support for passing alternate trunk branch name through to Invoke-DscResourceTest.Tests.ps1 function (issue #82).

[0.13.3] - 2020-06-01

Fixed

  • Added logic to support Pester 4.

[0.13.2] - 2020-05-30

Fixed

  • Update build.yaml to support latest ModuleBuilder.
  • Pinned required module Pester to 4.10.1.
  • Update CONTRIBUTING.md.

Changes

  • The cmdlet Invoke-DscResourceTest support running test in Pester 5.

[0.13.1] - 2020-05-15

Fixed

  • Fixed #71. Updated Invoke-DscResourceTest to handle multiple PSModuleInfo objects

[0.13.0] - 2020-03-28

Added

  • Added a test to check for the correct formatting of the Unreleased section in the Changelog.

Changed

  • Updated the Azure DevOps Pipeline build agents to the supported versions because the older win1803 and vs2015-win2012r2 versions have been deprecated (issue #68).

Fixed

  • Fixed #66. Tests in 'ModuleManifest.common.Tests.ps1' in context 'Requirements for manifest of module with class-based resources' always fail.

[0.12.1] - 2020-01-16

Fixed

  • Update the cmdlet Initialize-TestEnvironment to allow setting up the environment when run in PowerShell 5.0.
  • Update the pipeline so the module will be tested on PowerShell 5.0 (Microsoft-hosted agent running Windows Server 2012 R2).

[0.12.0] - 2020-01-16

Changed

  • Required PowerShell version was lowered to v5.0 in the module manifest.
  • Azure Pipelines will no longer trigger on changes to just the CHANGELOG.md.

[0.11.1] - 2020-01-06

Changed

  • Moved init code into Describe Block for PSSAResource and ResourceSchema Tests

Fixed

  • Updated QA tests to follow style guideline.

[0.11.0] - 2019-12-29

Added

  • Added new QA ExampleFiles test.
  • Added new QA MarkdownLinks test.
  • Added check on changelog when invoking by project path.

[0.10.0] - 2019-12-28

Added

  • Added a new test type, All, to the Initialize-TestEnvironment function that initializes the DSC LCM and imports the module for testing (issue #48).

[0.9.0] - 2019-12-27

Added

  • Added an integration test to regression test integration tests failing with Security Error (issue #38).

Changed

  • The Initialize-TestEnvironment now takes two new parameters that sets the execution policy for machine and process. If these are not set then the execution policy will not be changed.
  • Updated build.ps1 to the latest in the template.
  • Added LICENSE (fixes Issue #41).
  • Added standard badges to README.MD (fixes Issue #43).

Fixed

  • Fixing the Relative path to make sure it calculates from it's ModuleBase.
  • Used the right code of conduct for DSC Community.
  • Fixed integration tests failing with the error Security Error (issue #38).

Changed

  • Changed module manifest to include Tags, ProjectUri, LicenseUri, Logo and changed AliasesToExport to empty (fixes Issue #42).
  • Changed Clear-DscLcmConfiguration to a public function so it can be called directly by resource modules (fixes Issue #40).

Removed

  • Removed Deploy.PSDeploy.ps1 because it is not used (fixes Issue #44).
  • Removed commented out code from DscResource.Test.psm1 file (fixes Issue #45).

[0.8.0] - 2019-12-21

Added

  • Added new QA Localization test, supporting excludes.
  • Added new QA PublishExampleFiles test.

Fixed

  • Invoking the tests by ProjectPath (as well as per module).
  • Fixed the Get-ChildItem -Depth 3 on Windows PS (needed -Name or it does not work).

Changed

  • Re-added the check for Initialize-TestEnvironment to check if session elevated & OS.

[0.7.0] - 2019-12-19

Added

  • Added new QA Localization test.

[0.5.3] - 2019-12-16

Fixed

  • Temporarily remove Admin-check in Initialize-TestEnvironment.
  • Suppress output from function Initialize-DscTestLcm.

[0.5.1] - 2019-12-13

Fixed

  • Correctly detect Windows PowerShell in Initialize-TestEnvironment.

[0.5.0] - 2019-12-12

Fixed

  • Now skipping isAdmin on non-windows (because creds works differently)
  • Moving spellcheck out of the tests
  • Updating ScriptFiles tests to get different module base when from module or from project path

[0.4.0] - 2019-12-04

Added

  • Allow most test to optionally target Source files (under Project/SourceFolder)
  • Enable excluding file by path relative to either ModuleBase (when specifying a module) or Source Path

[0.3.0] - 2019-12-02

Added

  • Added Public functions Initialize-TestEnvironment, New-DscSelfSignedCertificate, Restore-TestEnvironment
  • Added Private functions Set-EnvironmentVariable, Set-PSModulePath, Clear-DscLcmConfiguration
  • Added PSPKI as ExternalModuleDependencies when creating self signed certs on older OSes

[0.2.0] - 2019-11-27

Added

  • Created module from DscResource.Tests repository.
  • Function Invoke-DscResourceTest is proxy to Invoke-Pester, with Sugar coating for the built-in tests.
  • Added Secret Variables for releases and using DSC Bot account