Add tests for Import-Module -Force - #7491
Conversation
Ilya (iSazonov)
left a comment
There was a problem hiding this comment.
LGTM with one comment.
There was a problem hiding this comment.
Please add -Tag "CI".
|
Sorry Ilya (@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. |
|
Ilya (@iSazonov) Done! |
|
I guess you will add tests for nested module scenarios with |
|
Aditya Patwardhan (@adityapatwardhan) Could you please review? |
There was a problem hiding this comment.
Please remove this line.
|
Rob Holt (@rjmholt) Please rebase to reconfigure CIs |
c35b5f2 to
1d7b1f1
Compare
|
Aditya Patwardhan (@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