dsccommunity / dsccommunity/SqlServerDsc
Revert temporary Prerequisites test changes once DSCv3-specific Prerequisites tests are created
Open
@johlju is already working on this.
Since Jan 18, 2026.
help wanted
tests
- Dominant language
- PowerShell
- Stars
- 385
- Forks
- 224
- PR merge metrics
- No merged PRs in 30d
Description
Description
In PR #2102, temporary changes were made to the Prerequisites integration test to accommodate DSCv3 integration test stages. These changes should be reverted once a separate Prerequisites integration test is created specifically for DSCv3.
Code Changed
From (strict check):
$module | Should -HaveCount 1
$module.Version -ge '1.0.4.1' | Should -BeTrue
To (lenient check):
$module.Count | Should -BeGreaterOrEqual 1
#$module.Version -ge '1.0.4.1' | Should -BeTrue
File: tests/Integration/Commands/Prerequisites.Integration.Tests.ps1
Lines: ~197-198
Expected Resolution
- Create a separate Prerequisites integration test file for DSCv3 integration test stages
- Revert the changes in
tests/Integration/Commands/Prerequisites.Integration.Tests.ps1back to the original strict assertions - Ensure the new DSCv3-specific Prerequisites test has appropriate module version checks for that environment
References
Reported by: @johlju
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.