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?
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 toAssert-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?