Skip to content

Migrate IterableToContainInOrderOnlyEntriesExpectationsSpec to kotlin-test - #2217

Open
Inf1mum wants to merge 2 commits into
robstoll:mainfrom
Inf1mum:issue-2026
Open

Inf1mum wants to merge 2 commits into
robstoll:mainfrom
Inf1mum:issue-2026

Conversation

@Inf1mum

@Inf1mum Inf1mum commented Nov 7, 2026

Copy link
Copy Markdown

Closes #2026

Summary

  • migrate IterableToContainInOrderOnlyEntriesExpectationsSpec from Spek to kotlin-test
  • migrate the shared spec to ExpectationFunctionBaseTest and test factories (subjectLessTestFactory, expectationCreatorTestFactory, testFactory / testFactoryNonNullable), porting every describe/it block
  • update Fluent and Infix implementations to use the migrated abstract test, split into ...BuilderTest and ...ShortcutTest since the spec covers both the builder syntax (toContain.inOrder.only.entry/entries) and the shortcut (toContainExactly)
  • rewrite ambiguityTest with real subjects and valid expectations (previously notImplemented())

Testing

  • :atrium-specs:compileKotlinJvm
  • :atrium-api-fluent:jvmTest --tests "ch.tutteli.atrium.api.fluent.en_GB.IterableToContainInOrderOnlyEntriesExpectations*"
  • :atrium-api-infix:jvmTest --tests "ch.tutteli.atrium.api.infix.en_GB.IterableToContainInOrderOnlyEntriesExpectations*"

I confirm that I have read the Contributor Agreements v1.0, agree to be bound on them and confirm that my contribution is compliant.

@Inf1mum
Inf1mum requested a review from robstoll as a code owner November 7, 2026 19:06

This branch has not been deployed

No deployments
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.

migrate IterableToContainInOrderOnlyEntriesExpectationsSpec to kotlin-test

1 participant