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 Collection* assertions to just the suffix #9

Closed nohwnd closed 7 years ago

nohwnd commented 7 years ago

Collection assertions such as Assert-CollectionAny are quite unwieldy to type. There is not much benefit in doing in distinguishing the assertion as it works with single item as well as with array. So consider renaming or aliasing to Assert-Any, Assert-All, Assert-Contain, Assert-In and so on. This also aligns nicely with the operators and is easy to type.

But I need to think about the other specialized assertions, such as for string, is there a need for it or was that concept wrong from the get-go?