Skip to content

Introduce AbstractOrderedIterableAssert#17

Merged
mattbertolini merged 8 commits into
assertj:mainfrom
mattbertolini:mbertolini/list-stack-iterable-skeleton
May 25, 2026
Merged

Introduce AbstractOrderedIterableAssert#17
mattbertolini merged 8 commits into
assertj:mainfrom
mattbertolini:mbertolini/list-stack-iterable-skeleton

Conversation

@mattbertolini
Copy link
Copy Markdown
Collaborator

This pull request introduces the AbstractOrderedIterableAssert class and its two new corresponding concrete types ListIterableAssert and StackIterableAssert. This follows the pattern from the previous pull request with AbstractRichIterableAssert. The ordered assert extends from RichIterableAssert and allows for the efficient fetching of the first and last element of an ordered list.

In addition, I've created a custom parameterized test annotation and corresponding argument provider to make it easy to test the AbstractRichIterableAssert methods for all of the subtypes that need verification.

@mattbertolini mattbertolini changed the title Mbertolini/list stack iterable skeleton Introduce AbstractOrderedIterableAssert May 23, 2026
@mattbertolini mattbertolini merged commit 6fe498d into assertj:main May 25, 2026
5 of 7 checks passed
@mattbertolini mattbertolini deleted the mbertolini/list-stack-iterable-skeleton branch May 25, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant