pester / Pester

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

Exclude duplicate files for Run.Path and CodeCoverage.Path #2535

Closed fflaten closed 2 months ago

fflaten commented 2 months ago

PR Summary

Updates Find-File and Get-CodeCoverageFilePaths internal functions to exclude duplicate files when provided overlapping Path values to search in. This affects:

PR also:

Fix #2530

PR Checklist

fflaten commented 2 months ago

@nohwnd CI disabled in AzDO?

fflaten commented 2 months ago

/azp run

azure-pipelines[bot] commented 2 months ago
Azure Pipelines successfully started running 1 pipeline(s).
nohwnd commented 2 months ago

/backport to rel/5.6.x

github-actions[bot] commented 2 months ago

Started backporting to rel/5.6.x: https://github.com/pester/Pester/actions/runs/9879992903