dsccommunity / dsccommunity/DscResource.Test

Pester V5 test results does not display details of the executed tests

Open
#130 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs more information
Dominant language
PowerShell
Stars
6
Forks
9
PR merge metrics
No merged PRs in 30d

Description

When using Sampler build configuration with Output: Detailed it only displays a summary of the executed tests instead of the individual tests that are executed:
Screenshot 2023-11-23 134054

Below see the build.yml config:
image

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

Start with the build.yml configuration shown in the issue and inspect how the Sampler build configuration passes the Output: Detailed setting to Pester V5. Reproduce the test run and compare its output with the expected individual executed-test details. Done means detailed output lists the individual tests rather than only a summary.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.