Skip to content

Migrate IterableToContainInOrderOnlyGroupedValuesExpectationsSpec to kotlin-test - #2216

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

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

Conversation

@Inf1mum

@Inf1mum Inf1mum commented Nov 7, 2026

Copy link
Copy Markdown

Closes #2028

Summary

  • migrate IterableToContainInOrderOnlyGroupedValuesExpectationsSpec from Spek to kotlin-test
  • migrate the shared spec to ExpectationFunctionBaseTest and test factories (subjectLessTestFactory, testFactoryNonNullable), dropping the describePrefix
  • update Fluent and Infix implementations to use the migrated abstract test and rename them accordingly (first commit is a pure rename to retain file history)
  • rewrite ambiguityTest with real subjects and passing expectations

Testing

  • :atrium-specs:compileKotlinJvm
  • :atrium-api-fluent:jvmTest --tests "ch.tutteli.atrium.api.fluent.en_GB.IterableToContainInOrderOnlyGroupedValuesExpectationsTest" (47 tests, green)
  • :atrium-api-infix:jvmTest --tests "ch.tutteli.atrium.api.infix.en_GB.IterableToContainInOrderOnlyGroupedValuesExpectationsTest" (47 tests, green)

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 18:47

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 IterableToContainInOrderOnlyGroupedValuesExpectationsSpec to kotlin-test

1 participant