Pester
Pester copied to clipboard
Ignore call base class contructor in code coverage
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 Requestto mark it as a draft. PR can be markedReady for reviewwhen it's ready.
- If not, use the arrow next to
- [x] Tests are added/update (if required)
- [ ] Documentation is updated/added (if required)