Skip to content

orderedBy Quality that describes an Iterable which returns its elements in a specific order. #157

@dmfs

Description

@dmfs

The idea is to be able to check the order of elements of an Iterable without having to name them all (which may be problematic for large or unpredictable results).
This would by my solution for hamcrest/JavaHamcrest#404, i.e. check that the elements are ordered as expected and test that all or some of the elements are indeed present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions