pester / Pester

Pester is the ubiquitous test and mock framework for PowerShell.
https://pester.dev/
Other
3.05k stars 469 forks source link

Does Pester support to view the code coverage report in browser? #2485

Closed pcgeng closed 1 month ago

pcgeng commented 1 month ago

Checklist

Where did you see it?

Pester (latest)

Function name

Invoke-Pester -Configuration New-PesterConfiguration

What is the issue?

How to view the code coverage report in browser?

fflaten commented 1 month ago

There's no built-in HTML report but the JaCoCo xml can be visualized by CI-systems and tools like https://reportgenerator.io can generate HTML-reports.

I've created an issue in the docs-repo to mention more tools in https://pester.dev/docs/usage/code-coverage in the future.