hamkrest icon indicating copy to clipboard operation
hamkrest copied to clipboard

Can't find IsIterableContainingInAnyOrder matcher

Open dkandalov opened this issue 9 years ago • 3 comments

If I am missing something, what is the idiomatic way to do it HamKrest? Otherwise, are there any plans to implement this (are pull requests welcome)?

dkandalov avatar Oct 16 '16 18:10 dkandalov

It's not implemented yet. In HamKrest, I'd call it containsAll to match contains.

PRs are welcome.

npryce avatar Oct 16 '16 19:10 npryce

I raised this PR https://github.com/npryce/hamkrest/pull/15 (but forgot to reference issue in commit name).

dkandalov avatar Oct 19 '16 12:10 dkandalov

containsInAnyOrder is entirely different from contains or containsAll for lists (as mentioned in https://github.com/npryce/hamkrest/issues/37) - So I would suggest calling it containsInAnyOrder as per hamcrest.

corbym avatar Nov 11 '20 16:11 corbym