Skip to content

Add an additional acceptance test for the PowerShellGet module#4531

Merged
adityapatwardhan merged 2 commits intoPowerShell:masterfrom
bmanikm:AddPowerShellGetAcceptanceTest
Aug 10, 2017
Merged

Add an additional acceptance test for the PowerShellGet module#4531
adityapatwardhan merged 2 commits intoPowerShell:masterfrom
bmanikm:AddPowerShellGetAcceptanceTest

Conversation

@bmanikm
Copy link
Copy Markdown
Contributor

@bmanikm bmanikm commented Aug 8, 2017

  • This acceptance test will ensure that there are no regressions in PowerShell build w.r.t. to adding a .NET type in PowerShellGet module.

function Remove-InstalledModules
{
Get-InstalledModule -Name $ContosoServer -AllVersions -ErrorAction SilentlyContinue | Uninstall-Module -Force
Get-InstalledModule -Name $ContosoServer -AllVersions -ErrorAction SilentlyContinue | PowerShellGet\Uninstall-Module -Force
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This might throw right? Do you want to ignore those errors.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There should not be any errors in uninstalling the test module, otherwise other test cases will fail.

@jianyunt
Copy link
Copy Markdown
Contributor

jianyunt commented Aug 9, 2017

:shipit:

@adityapatwardhan adityapatwardhan merged commit 0bfee35 into PowerShell:master Aug 10, 2017
@bmanikm bmanikm deleted the AddPowerShellGetAcceptanceTest branch August 11, 2017 17:49
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.

5 participants