-
Notifications
You must be signed in to change notification settings - Fork 190
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
Add method to config that uses an empty test environment #3555
base: smithy-rs-release-1.x.y
Are you sure you want to change the base?
Conversation
A new generated diff is ready to view.
A new doc preview is ready to view. |
A new generated diff is ready to view.
A new doc preview is ready to view. |
/// This allows for testing in a reproducible environment that ensures any | ||
/// environment variables from the host do not influence environment variable | ||
/// resolution. | ||
pub fn empty_test_environment(mut self) -> Self { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume we're not gating this behind test-utils
or anything (aws-config
already has quite a few features to the point that it's not friendly to cargo hack --feature-powerset
)
@@ -1,6 +1,6 @@ | |||
[package] | |||
name = "aws-config" | |||
version = "1.1.10" | |||
version = "1.1.11" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be a minor bump, right?
Motivation and Context
Improve testability
Checklist
CHANGELOG.next.toml
if I made changes to the smithy-rs codegen or runtime cratesCHANGELOG.next.toml
if I made changes to the AWS SDK, generated SDK code, or SDK runtime cratesBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.