PSCodeHealth icon indicating copy to clipboard operation
PSCodeHealth copied to clipboard

Test Coverage (%) is zero at the function level while using existing TestResult

Open guptalakshay opened this issue 6 years ago • 2 comments

Before submitting a bug report, please ensure you :

  • [ ] Verified this bug is not already reported in an issue
  • [ ] Can reproduce in a clean PowerShell session (clean = powershell -NoProfile)

Describe the Problem

Test Coverage (%) is zeroes at the function level while using existing TestResult

Steps To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. Error or unexpected behavior : ...

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • Operating system :
  • PowerShell version :
  • PSCodeHealth version :

Additional context

How has this issue affected you ?
What are you trying to accomplish ?
Providing context helps us come up with a solution that is most useful and prioritize issues.

guptalakshay avatar Mar 27 '19 13:03 guptalakshay

Untitled2

Attaching snapshot for reference

guptalakshay avatar Mar 27 '19 13:03 guptalakshay

@MathieuBuisson: This could be related to the new Pester v5 release. Should be fixed in PSCodeHealth with the latest PR #26. - As soon as it is pushed to PSGallery ^^

OCram85 avatar Jun 29 '20 07:06 OCram85