[Announcement] AWS Step Functions adds mocking support for testing workflows locally

0

AWS Step Functions Local, a runtime for debugging and testing state machine based workflows locally, is now designed to support mocking for service integrations, allowing you to run state machines without the need to call downstream services.

AWS Step Functions is a visual workflow service capable of orchestrating over 9,000 API actions from over 200 AWS services. Step Functions Local is a downloadable version of Step Functions that is designed to enable you to run, debug, and test state machines without leaving your development environment. Now, with Step Functions Local, you can mock the responses from your service integrations, helping save time and lower development efforts when building state machines.

Step Functions Local now supports all 200+ AWS services supported by the AWS SDK, along with Step Functions' optimized service integrations. You can choose whether to mock or call services while testing the decision logic, error handling, and data transformations within your state machines. You can also create multiple mocks per state to test the logic that handles errors, such as retry and catch statements.

To get started with Step Functions Local, download the runtime as either a Docker image or executable JAVA .jar format. Step Functions Local is not region dependent, but does require the AWS CLI to be setup on your local host. To learn more about mocking for Step Functions Local, read the launch blog and the Developer Guide.

What's New: https://aws.amazon.com/about-aws/whats-new/2022/01/aws-step-functions-support-workflows/
Blog: https://aws.amazon.com/blogs/compute/mocking-service-integrations-with-aws-step-functions-local/
Developer Guide: https://docs.aws.amazon.com/step-functions/latest/dg/sfn-local.html

  • This is an announcement migrated from AWS Forums that does not require an answer

AWS
질문됨 2년 전242회 조회
1개 답변
0

To learn more about mocking for Step Functions Local, read this blog: [+] https://aws.amazon.com/blogs/compute/mocking-service-integrations-with-aws-step-functions-local/

AWS
Soloman
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠