durable-execution-sdk-js-testing.testresult.md
December 2, 2025 ยท View on GitHub
Home > @aws/durable-execution-sdk-js-testing > TestResult
TestResult interface
Result of a durable function test execution. Contains the function result, operation history, and methods to inspect the execution.
Signature:
export interface TestResult<TResult = any>
Methods
|
Method |
Description |
|---|---|
|
Gets the error from a failed durable execution. | |
|
Gets the complete history of events for the durable execution. | |
|
Gets informatiAn about individual Lambda handler invocations. Can be used to assert on the data for a specific invocation and validate the number of invocations that were run during the durable execution. | |
|
Gets a list of all operations from the execution. | |
|
Gets the final result of the durable execution. | |
|
Gets the status of the durable execution. | |
|
Prints a formatted table of all operations to the console with their details. |