Skip to content

Add an additional acceptance test for the PowerShellGet module - #4531

Merged
Aditya Patwardhan (adityapatwardhan) merged 2 commits into
PowerShell:masterfrom
bmanikm:AddPowerShellGetAcceptanceTest
Aug 10, 2017
Merged

Add an additional acceptance test for the PowerShellGet module#4531
Aditya Patwardhan (adityapatwardhan) merged 2 commits into
PowerShell:masterfrom
bmanikm:AddPowerShellGetAcceptanceTest

Conversation

@bmanikm

Copy link
Copy Markdown
Contributor
  • 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

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

:shipit:

@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit 0bfee35 into PowerShell:master Aug 10, 2017
@bmanikm
Manikyam Bavandla (bmanikm) deleted the AddPowerShellGetAcceptanceTest branch August 11, 2017 17:49
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
…Shell#4531)

* Add an additional acceptance test for the PowerShellGet module

* Removed 'BVT' tag
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