Home > @aws/durable-execution-sdk-js-testing > TestResult
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>|
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. |