PowerShell / PowerShell/DSC

PesterGroupResource

Open
#264 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Enhancement
Dominant language
Rust
Stars
523
Forks
75
Avg merge
3d 16h
Merged PRs (30d)
24

Description

Summary of the new feature / enhancement

For audit scenarios, enable execution of Pester tests. A property of this resource would provide a path to the tests and recursively all *.test.ps1 would get executed. Need to consider what the output object looks like so that not only is it easy to tell if all the tests pass, but which individual tests failed with failure information.

Proposed technical implementation details (optional)

This might be a test only resource which currently isn't supported, but we can add a new property in the resource manifest or have this resource like the AssertionGroup and always execute "test" even if called by get and set.

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

Review the resource manifest and the existing AssertionGroup resource, both referenced in the proposal. Clarify whether this is a test-only resource or should run during get and set, then define an output object that reports overall status and individual failures. Done means recursively executing *.test.ps1 files and exposing actionable results.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.