Skip to content

Commit

Permalink
Rust: Add Testing cross-content entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSouther committed Nov 7, 2023
1 parent 8e902ae commit e0f97df
Showing 1 changed file with 21 additions and 1 deletion.
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 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:

0 comments on commit e0f97df

Please sign in to comment.