dsccommunity / dsccommunity/SqlServerDsc

SqlAGDatabase: Refactor unit tests to support Pester 5

Open
#1,754 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted high priority tests
Dominant language
PowerShell
Stars
385
Forks
224
PR merge metrics
No merged PRs in 30d

Description

Due to the size of the PR https://github.com/dsccommunity/SqlServerDsc/pull/1550 it was a pain to rebase it for each contribution to the repository, for that reason it was merge prior to having refactored the unit test for SqlAGDatabase. The unit tests for SqlAGDatabase are currently skipped until refactor has been made.

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.

Research direction

Locate the skipped SqlAGDatabase unit tests and review how the repository’s existing tests are structured for Pester 5. Refactor those tests to the supported Pester 5 format, then run the SqlAGDatabase unit-test suite and confirm the tests are no longer skipped and pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
databases, testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.