Skip to content
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

refactor: replace FakeClientBuilder with spy #385

Merged

Conversation

markjschreiber
Copy link
Contributor

Description of changes:

Removes the FakeClientBuilder and replaces it's usage in tests with a Spy. The motivation for the removal is that updates to the AWS S3 SDK frequently add method calls to the builder class with the fake class must implement, but offer no value to our tests. Using a spy adds a little complexity but hopefully makes it easier to frequently update our SDK build.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@markjschreiber markjschreiber merged commit 40ee837 into main Feb 13, 2024
1 check passed
@markjschreiber markjschreiber deleted the markjschreiber/refactor/remove-fakeclientbuilder branch February 13, 2024 17:32
stefanofornari added a commit to stefanofornari/aws-java-nio-spi-for-s3 that referenced this pull request Feb 14, 2024
stefanofornari pushed a commit to stefanofornari/aws-java-nio-spi-for-s3 that referenced this pull request May 20, 2024
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