Skip to content

Pester Code Coverage should provide updated guidance for options for implementation #1876

Open
@asears

Description

@asears

Summary of the feature request

Pester now includes the ability to summarize coverage results to the console, which is great for quick iteration.

In addition to running the code coverage, an optional summary output parameter and some updates to documentation would be useful. Perhaps revisiting the examples with some local, Azure Devops / Github pipeline implementation details and prescriptive guidance on editor / shell configuration?

How should it work? (optional)

Currently viewing the summary appears to require setting Coverage output configuration to detailed, which may not be as intuitive as being able to provide multiple outputs (Console, Jacoco, Nunit) or a specific parameter just to show the coverage summary.

Updates to some of the comment-based help and coverage implementation details for local, Visual Studio, VSCode, and Azure Devops integration would be beneficial. Tests with gutter support for code coverage in VSCode would be ideal.

Showing a summary of what filenames were/were not covered by percentage would be useful. This might be available, have not seen it yet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions