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

Rust: Add Testing cross-content entry #5608

Merged
merged 2 commits into from
Nov 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .doc_gen/metadata/cross_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -707,4 +707,24 @@ cross_FMPlayground:
service_main: bedrock-runtime
services:
bedrock-runtime:

cross_Testing:
title: Example approaches for unit and integration testing with an &AWS; SDK
title_abbrev: Unit and integration test with an SDK
synopsis: examples for best-practice techniques when writing unit and integration tests using an &AWS; SDK.
languages:
Rust:
versions:
- sdk_version: 1
github: rust_dev_preview/examples/testing
excerpts:
- description: Cargo.toml for testing examples.
snippet_files:
- rust_dev_preview/examples/testing/Cargo.toml
- description: Unit testing example using automock and a service wrapper.
snippet_files:
- rust_dev_preview/examples/testing/src/wrapper.rs
- description: Integration testing example using StaticReplayClient.
snippet_files:
- rust_dev_preview/examples/testing/src/replay.rs
services:
s3:
Loading