Home > @aws/durable-execution-sdk-js-testing > DurableTestRunner
Main interface for durable function test runners. Provides methods to run durable executions and retrieve operations for testing.
Signature:
export interface DurableTestRunner<TDurableOperation extends DurableOperation, ResultType>|
Method |
Description |
|---|---|
|
Gets the first operation with the specified name. | |
|
Gets an operation by its unique identifier. | |
|
Gets an operation by its execution order index. | |
|
Gets an operation by name and index when multiple operations have the same name. | |
|
Runs the durable execution and returns the test result. |