durable-execution-sdk-js-testing.md
December 2, 2025 ยท View on GitHub
Home > @aws/durable-execution-sdk-js-testing
durable-execution-sdk-js-testing package
Classes
|
Class |
Description |
|---|---|
|
A test runner for durable execution functions running in the AWS cloud. This runner invokes Lambda functions and polls for execution history to provide testing capabilities for durable operations. | |
|
Local test runner for durable executions that runs handlers in-process with a local checkpoint server for development and testing scenarios. This test runner executes durable functions locally without requiring AWS Lambda infrastructure, making it ideal for unit testing and local development workflows. |
Enumerations
|
Enumeration |
Description |
|---|---|
|
An enum for different available waiting operation statuses. |
Interfaces
|
Interface |
Description |
|---|---|
|
Details for a callback operation result, including the callback identifier and outcome. | |
|
Details for a chained invoke operation result. | |
|
Options for the cloud durable test runner. | |
|
Parameters for creating a CloudDurableTestRunner instance. | |
|
Details for a context operation result, containing either a successful result or an error. | |
|
Interface for individual operation level interactions in durable executions. Provides methods to inspect operation details, wait for data, and send callback responses. | |
|
Main interface for durable function test runners. Provides methods to run durable executions and retrieve operations for testing. | |
|
Tracks a single invocation of the durable function handler. Contains timing information, request ID, and any errors that occurred. | |
|
Request parameters for invoking a durable function. | |
|
Configuration parameters for LocalDurableTestRunner. | |
|
Configuration parameters for setting up the LocalDurableTestRunner test environment. | |
|
Details for a step operation result, including retry information and outcome. | |
|
Result of a durable function test execution. Contains the function result, operation history, and methods to inspect the execution. | |
|
Error information from a test execution or operation. | |
|
Details for a wait operation, including duration and scheduling information. |
Variables
|
Variable |
Description |
|---|---|
Type Aliases
|
Type Alias |
Description |
|---|---|