nohwnd / Assert

A set of advanced assertions for Pester to simplify how you write tests.
MIT License
101 stars 12 forks source link

Consider renaming Assert-Same to Assert-ReferenceEqual to avoid confusion #7

Open nohwnd opened 7 years ago

nohwnd commented 7 years ago

same is pretty well known to compare by reference in most testing framework, but the usability of reference comparison is low in powershell, and it's easy to mistake it for equality. Consider renaming the assertion to Assert-ReferenceEqual to make it less discoverable, and hence harder to use by accident.

nohwnd commented 6 years ago

@alx9r Got any opinion on that?