Update Pester test guidance in community style guidelines#2444
Update Pester test guidance in community style guidelines#2444johlju merged 2 commits intodsccommunity:mainfrom
Conversation
WalkthroughUpdates to Pester testing style guidelines: disallowed assertion patterns expanded to include Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @.github/instructions/dsc-community-style-guidelines-pester.instructions.md:
- Around line 55-62: The headings "File Organization" and "Data-Driven Tests
(Test Cases)" in the markdown lack a blank line after them; update the document
to insert a single empty line immediately after each heading (and similarly
ensure any code block or list following a heading is preceded by one blank line)
so the headings comply with the style guideline—apply this update around the
sections containing "Class resources: `tests/Unit/Classes/{Name}.Tests.ps1`" and
the `-ForEach` guidance.
.github/instructions/dsc-community-style-guidelines-pester.instructions.md
Show resolved
Hide resolved
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2444 +/- ##
=====================================
Coverage 94% 94%
=====================================
Files 225 225
Lines 10769 10769
=====================================
Hits 10142 10142
Misses 627 627
🚀 New features to boost your workflow:
|
Pull Request (PR) description
This Pull Request (PR) fixes the following issues
None.
Task list
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
This change is