-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Add tests for Import-Module -Force #7491
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
Add tests for Import-Module -Force #7491
Conversation
iSazonov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add -Tag "CI".
|
Sorry @iSazonov, I was demonstrating to some people how to contribute simple tests to the PowerShell repo. But I would actually like to add this test and bunch of others, so I'll add a few more to this and we can make it into a more useful PR. |
|
We could merge this as is. You can make new PR for new tests. |
|
@iSazonov Done! |
|
I guess you will add tests for nested module scenarios with |
|
@adityapatwardhan Could you please review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this line.
|
@rjmholt Please rebase to reconfigure CIs |
c35b5f2 to
1d7b1f1
Compare
|
@adityapatwardhan Please update your code review. |
PR Summary
Add testing for the behaviour of Import-Module -Force.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests