[Template] Add Unit tests to Class DSC Resource template
Open
enhancement
good first issue
help wanted
- Dominant language
- PowerShell
- Stars
- 243
- Forks
- 46
- Avg merge
- 1h 41m
- Merged PRs (30d)
- 1
Description
# Description
We should add the tests following Ben's example to "mock" methods with script properties: https://github.com/bgelens/DockerDsc/blob/Dev/Tests/Unit/DockerService.Tests.ps1#L39
Contributor guide
Research direction
Start by reading the referenced DockerDsc example in Tests/Unit/DockerService.Tests.ps1 around line 39, then locate the Class DSC Resource template in Sampler. Add unit tests that mock methods with script properties, and verify the template's test suite covers that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100