Pester icon indicating copy to clipboard operation
Pester copied to clipboard

Ignore call base class contructor in code coverage

Open fflaten opened this issue 1 year ago • 0 comments

PR Summary

Calls to base constructors like base() were discovered never hit by breakpoint or tracer CC. PowerShell only hits scriptblock contents of both constructors.

Adding base ctor call to ignore command list.

Issue reported on Discord: https://discord.com/channels/180528040881815552/447476910499299358/1268943815272828998

PR Checklist

  • [x] PR has meaningful title
  • [x] Summary describes changes
  • [x] PR is ready to be merged
    • If not, use the arrow next to Create Pull Request to mark it as a draft. PR can be marked Ready for review when it's ready.
  • [x] Tests are added/update (if required)
  • [ ] Documentation is updated/added (if required)

fflaten avatar Aug 02 '24 23:08 fflaten