dsccommunity / dsccommunity/SqlServerDsc

Revert temporary Prerequisites test changes once DSCv3-specific Prerequisites tests are created

Open
#2,424 0 comments 0 reactions 1 assignee View on GitHub

@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

  1. Create a separate Prerequisites integration test file for DSCv3 integration test stages
  2. Revert the changes in tests/Integration/Commands/Prerequisites.Integration.Tests.ps1 back to the original strict assertions
  3. Ensure the new DSCv3-specific Prerequisites test has appropriate module version checks for that environment

References

Reported by: @johlju

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.