-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump mockito
to 1.x
#2223
Comments
szokeasaurusrex
added a commit
that referenced
this issue
Nov 14, 2024
Instead of using this struct to store options for the endpoint, which then manually need to be checked in the `mock_endpoint` method, convert the struct into a builder which constructs the mock with the provided configuration. This will make `EndpointOptions` more flexible, allowing us to expand it with new features, and this also reduces branching. Keeping `EndpointOptions` around, rather than simply calling `mockito` methods directly, will make it easier to handle any breaking changes to the `mockito` library, such as the ones that will occur when implementing #2223
szokeasaurusrex
added a commit
that referenced
this issue
Nov 14, 2024
Instead of using this struct to store options for the endpoint, which then manually need to be checked in the `mock_endpoint` method, convert the struct into a builder which constructs the mock with the provided configuration. This will make `EndpointOptions` more flexible, allowing us to expand it with new features, and this also reduces branching. Keeping `EndpointOptions` around, rather than simply calling `mockito` methods directly, will make it easier to handle any breaking changes to the `mockito` library, such as the ones that will occur when implementing #2223
szokeasaurusrex
added a commit
that referenced
this issue
Nov 14, 2024
Add `TestManager` to manage setting up Mocks and Trycmd tests. This will make bumping to new Mockito #2223 easier
szokeasaurusrex
added a commit
that referenced
this issue
Nov 15, 2024
Add `TestManager` to manage setting up Mocks and Trycmd tests. This will make bumping to new Mockito #2223 easier
szokeasaurusrex
added a commit
that referenced
this issue
Nov 15, 2024
Add `TestManager` to manage setting up Mocks and Trycmd tests. This will make bumping to new Mockito #2223 easier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mockito 1.x contains features which we need for #2194, but it also breaks the API we use at the moment. Let's bump to the newer Mockito version to take advantage of the new features
The text was updated successfully, but these errors were encountered: