Skip to content

Conversation

@m-koops
Copy link
Contributor

@m-koops m-koops commented Nov 29, 2025

As discussed in #553, that PR had become very large and hard to review, due to its many changes all combined in 1 squashed commit. This PR is a first step to break down that big PR and deliver a train of smaller PRs that ultimately lead to a combined result comparable with #553. PR #553 is a proper reference to describe the context and aim of the changes, but in the end I expect #553 not to be merged as it will get superceeded by the train of smaller PRs.

This PR is taking all enhancements to the test code that can be done without touching any class of the current mainline code.
The commits in this PR are not (yet) squashed, as each of the commits represent a logic step in the evolution of the test code. Each commit is a valid and complete stage in the code history, as each commit has a proper commit message and a succesfull Gradle build.

I would advice to review the PR commit by commit, as each commit on its own is small and should be well comprehensible.

Merging this PR would set the stage to introduce the enhancements to the mainline code that I will present in smaller and more manageable PRs as well.

@m-koops m-koops changed the title Enhance test covering various facets of stubbing, groundwork towards implementing improved suspend function support Enhance tests covering various facets of stubbing, this is groundwork towards implementing improved suspend function support Nov 29, 2025
Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewing per commit was crucial to understand all the moving pieces. Thank you for taking your time doing so and all the test suite improvements. Given that no main source code is changed and only tests were updated, I trust the process that these changes are fine.

Given that all commits themselves also pass (nice!), I will rebase and merge to preserve the well-curated history. For PRs that touch main source code, I want to squash these, so make sure they are smaller than this one.

@TimvdLippe TimvdLippe merged commit b4f703a into mockito:main Nov 30, 2025
4 checks passed
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.

2 participants