Skip to content

Commit

Permalink
Merge pull request #1008 from dataplat/tests
Browse files Browse the repository at this point in the history
uncomment module tests
  • Loading branch information
jpomfret authored Aug 28, 2023
2 parents 62057a5 + d4c9403 commit 7e23cb3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions tests/QA/module.tests.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<#

BeforeDiscovery {
$script:moduleName = $ProjectName

Expand Down Expand Up @@ -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
Expand All @@ -90,7 +91,7 @@ BeforeDiscovery {
}
}
}
<#
Describe 'Quality for module' -Tags 'TestQuality' {
BeforeDiscovery {
if (Get-Command -Name Invoke-ScriptAnalyzer -ErrorAction SilentlyContinue)
Expand Down Expand Up @@ -210,5 +211,4 @@ Describe 'Help for module' -Tags 'helpQuality' {
}
}
}
#>

0 comments on commit 7e23cb3

Please sign in to comment.