dsccommunity / dsccommunity/SqlServerDsc
SqlAGDatabase: Refactor unit tests to support Pester 5
Nobody has claimed this yet.
- 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
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.
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