Skip to content

Commit

Permalink
Rust: Add Testing cross-content entry (#5608)
Browse files Browse the repository at this point in the history
* Rust: Add Testing cross-content entry.
  • Loading branch information
DavidSouther authored and ford-at-aws committed Dec 15, 2023
1 parent ef25251 commit a1e5b17
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 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:

0 comments on commit a1e5b17

Please sign in to comment.