PowerShell/test/tools/OpenCover
Aditya Patwardhan 5cd0e85d12 Fixed passing common test modules path to unelevated Powershell (#4313)
- Fixed the way common test modules are passed to elevated and unelevated powershell. Earlier, only elevated powershell got those through inheritance as a child process. Now we add them to the startup of the process.
- Fixed error reported by PSScriptAnalyzer about ? / Where-Object
- Converted all the parameters passed to powershell.exe to be a base64 encoded string to avoid complications with quotes.
- Removed code which was updated $env:PSModulePath as we do it in startup args for powershell process instead. 
- Added a way to disable -Quiet for Pester.
- Opencover.console.exe gets confused when the base64 encoded parameter is given with '&' invoke.
Writing to a ps1 file and invoking the script works around the issue.
This also makes it similar to how unelevated tests are invoked.
2017-08-04 09:16:17 -07:00
..
OpenCover.Format.ps1xml Provide class level coverage data via OpenCover module (#3088) 2017-02-06 23:04:45 -08:00
OpenCover.psd1 Provide class level coverage data via OpenCover module (#3088) 2017-02-06 23:04:45 -08:00
OpenCover.psm1 Fixed passing common test modules path to unelevated Powershell (#4313) 2017-08-04 09:16:17 -07:00