Skip to content

Commit 7e23cb3

Browse files
authored
Merge pull request #1008 from dataplat/tests
uncomment module tests
2 parents 62057a5 + d4c9403 commit 7e23cb3

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55

66
## [Unreleased]
77

8+
### Added
9+
10+
- added pester tests to check that changelog is edited.
11+
812
## [3.0.1-preview0026] - 2023-08-28
913

1014
### Added
1115

1216
- Pester v5 support for agent checks.
1317

18+
1419
## [3.0.1-preview0025] - 2023-08-28
1520

1621
### Added

tests/QA/module.tests.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<#
1+
22
BeforeDiscovery {
33
$script:moduleName = $ProjectName
44

@@ -76,6 +76,7 @@ Describe 'General module control' -Tags 'FunctionalQuality' {
7676
}
7777
}
7878

79+
7980
BeforeDiscovery {
8081
# Must use the imported module to build test cases.
8182
$allModuleFunctions = & $mut { Get-Command -Module $args[0] -CommandType Function } $script:moduleName
@@ -90,7 +91,7 @@ BeforeDiscovery {
9091
}
9192
}
9293
}
93-
94+
<#
9495
Describe 'Quality for module' -Tags 'TestQuality' {
9596
BeforeDiscovery {
9697
if (Get-Command -Name Invoke-ScriptAnalyzer -ErrorAction SilentlyContinue)
@@ -210,5 +211,4 @@ Describe 'Help for module' -Tags 'helpQuality' {
210211
}
211212
}
212213
}
213-
214214
#>

0 commit comments

Comments
 (0)