diff --git a/CHANGELOG.md b/CHANGELOG.md index dddbdc28..729dcbec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- added pester tests to check that changelog is edited. + ## [3.0.1-preview0026] - 2023-08-28 ### Added - Pester v5 support for agent checks. + ## [3.0.1-preview0025] - 2023-08-28 ### Added diff --git a/tests/QA/module.tests.ps1 b/tests/QA/module.tests.ps1 index ff533596..29fce0ca 100644 --- a/tests/QA/module.tests.ps1 +++ b/tests/QA/module.tests.ps1 @@ -1,4 +1,4 @@ -<# + BeforeDiscovery { $script:moduleName = $ProjectName @@ -76,6 +76,7 @@ Describe 'General module control' -Tags 'FunctionalQuality' { } } + BeforeDiscovery { # Must use the imported module to build test cases. $allModuleFunctions = & $mut { Get-Command -Module $args[0] -CommandType Function } $script:moduleName @@ -90,7 +91,7 @@ BeforeDiscovery { } } } - +<# Describe 'Quality for module' -Tags 'TestQuality' { BeforeDiscovery { if (Get-Command -Name Invoke-ScriptAnalyzer -ErrorAction SilentlyContinue) @@ -210,5 +211,4 @@ Describe 'Help for module' -Tags 'helpQuality' { } } } - #> \ No newline at end of file