Expand description
Cloud test runner for testing deployed Lambda functions.
This module provides the CloudDurableTestRunner for testing durable functions
deployed to AWS Lambda, enabling integration testing against real AWS infrastructure.
§Examples
ⓘ
use durable_execution_sdk_testing::{
CloudDurableTestRunner, CloudTestRunnerConfig, ExecutionStatus,
};
#[tokio::test]
async fn test_deployed_workflow() {
let runner = CloudDurableTestRunner::<String>::new("my-function-name")
.await
.unwrap();
let result = runner.run("input".to_string()).await.unwrap();
assert_eq!(result.get_status(), ExecutionStatus::Succeeded);
}Structs§
- Cloud
Durable Test Runner - Cloud test runner for testing deployed Lambda functions.
- Cloud
Test Runner Config - Configuration for the cloud test runner.
- Lambda
History ApiClient - Real implementation of
HistoryApiClientthat calls the durable execution state API via aLambdaDurableServiceClient.