Skip to content

OpenCover and Code coverage improvements - #4550

Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
adityapatwardhan:CCAutomation
Aug 14, 2017
Merged

OpenCover and Code coverage improvements#4550
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
adityapatwardhan:CCAutomation

Conversation

@adityapatwardhan

Copy link
Copy Markdown
Member
  • Delete the code coverage output file before the run instead of after the run. So we can remote desktop and see the last runs results,
  • Use -noprofile for powershell.exe so that we restrict the testing the PSv6.

"-mergeoutput",
"-filter:`"+[*]* -[Microsoft.PowerShell.PSReadLine]*`"",
"-targetargs:`"-EncodedCommand $base64targetArgs`""
"-targetargs:`"-NoProfile -EncodedCommand $base64targetArgs`""

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fine, and another possible parameter to use is -noninteractive which will keep PSReadLine from being loaded.

@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit b953ab1 into PowerShell:master Aug 14, 2017
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants