Open
Description
General summary of the issue
In Pester 4, you used to be able to call Invoke-Pester -CodeCoverage @{ Path='path\to\my\test\file'; Function='My-FunctionName' } but this syntax no longer works and it seems like you need to use the -Configuration parameter to pass in a PesterConfiguration object made with New-PesterConfiguration.
Is there any way to achieve the function-based CodeCoverage granularity? There is no 'function' parameter that can be passed in anymore and there isn't a property in the configuration object that has this.