AWS Step Functions enhances Local Testing with TestState API

Published
November 20, 2025
https://aws.amazon.com/about-aws/whats-new/2025/11/aws-step-functions-local-testing-teststate-api/

AWS Step Functions TestState API Enhancements

AWS Step Functions has improved the TestState API to support local unit testing of workflows, enabling validation of workflow logic, including advanced patterns like Map and Parallel states, without deploying state machines to your AWS account.

New Features

  • Support for local unit testing of workflows, including advanced patterns like Map and Parallel states.
  • Mocking of AWS service integrations with optional API contract validation.
  • Integration with popular testing frameworks such as Jest and pytest, and CI/CD pipelines.

What to do

  • Integrate TestState API calls into your testing frameworks and CI/CD pipelines.
  • Use the TestState API to mock AWS service integrations and validate responses.
  • Access the TestState API through the AWS SDK, AWS CLI, or the AWS Step Functions Developer Guide.

Source: AWS release notes




If you need further guidance on AWS, our experts are available at AWS@westloop.io. You may also reach us by submitting the Contact Us form.

Follow our blog

Get the latest insights and advice on AWS services from our experts.

By clicking Sign Up you're confirming that you agree with our Terms and Conditions.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.