Open
Description
1. General summary of the issue
While testing out new Code Coverage Reporting capability in Azure DevOps with a dummy PowerShell module, I've noticed, that if my module has just a single cmdlet implemented, the class name property is generated based of the module path, and as soon as I add more cmdlets to the module, the class name in the code coverage report, becomes prefixed with the parent folder's name of the module:
2. Describe Your Environment
Pester version : 4.8.1 C:\Users\seriavio\Documents\WindowsPowerShell\Modules\Pester\4.8.1\Pester.psd1
PowerShell version : 5.1.17763.503
OS version : Microsoft Windows NT 10.0.17763.0
3. Expected Behavior
Expected behavior would be to report the class name consistently (either with or without the parent folder name)
4.Current Behavior
Class name is affected by the number of module members