Rene Hernandez
Rene Hernandez
@nohwnd Can you add this issue to the Better Mock milestone?
@nohwnd @DarkLite1 the main issue seems to derive from the fact that Mandatory parameters does not allow passing `$null` or empty collections. A possible solution could be either: * Remove...
@nohwnd Any suggestions for this?
I totally agree on not doing the work twice. I just want us to have a single location where we can keep track of the overall changes required to get...
@fourpastmidnight Please don't hesitate to chime with the your examples when you have the time. We are still very much away of finalizing any decision regarding how we plan to...
`-BeTrue` assertion will check for truthy equality, which as described [here](https://devblogs.microsoft.com/powershell/boolean-values-and-operators/) works not only for boolean values, but also for: * Strings, as long as they aren't zero length string...
Fixing this may affect people that are already relying on this unexpected behavior, so this could possible be a breaking change. @nohwnd Any comments?
For what it matters, I would vote to improve the future behavior and not be too concerned with the breaking changes. We are already doing breaking changes in v5, so...
@nohwnd Is your last example valid? By using the `-Module` switch (I suppose you were meaning `-ModuleName` there), the mock you should apply to function calls within the *PackageManagement* module...
@nohwnd The parameter thing was just a side topic :). My main question is: By using `-Module` or `-ModuleName`, we are saying that we want to mock the calls inside...