Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCover and Code coverage improvements #4550

Merged
merged 1 commit into from
Aug 14, 2017

Conversation

adityapatwardhan
Copy link
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.

@@ -555,7 +555,7 @@ function CreateOpenCoverCmdline($target, $outputLog, $targetArgs)
"-hideskipped:all",
"-mergeoutput",
"-filter:`"+[*]* -[Microsoft.PowerShell.PSReadLine]*`"",
"-targetargs:`"-EncodedCommand $base64targetArgs`""
"-targetargs:`"-NoProfile -EncodedCommand $base64targetArgs`""
Copy link
Member

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 daxian-dbw self-assigned this Aug 11, 2017
@daxian-dbw daxian-dbw merged commit b953ab1 into PowerShell:master Aug 14, 2017
@adityapatwardhan adityapatwardhan deleted the CCAutomation branch August 17, 2017 00:00
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.

None yet

4 participants