AWS Step Functions enhances the TestState API to support local unit testing of workflows, allowing you to validate your workflow logic, including advanced patterns like Map and Parallel states, without deploying state machines to your AWS account.
AWS Step Functions is a visual workflow service capable of orchestrating over 14,000+ API actions from over 220 AWS services to build distributed applications and data processing workloads. The TestState API now supports testing of complete workflows including error handling patterns in your local development environment. You can now mock AWS service integrations, with optional API contract validation that verifies your mocked responses match the expected responses from actual AWS services, helping ensure your workflows work correctly in production. You can integrate TestState API calls into your preferred testing frameworks such as Jest and pytest and CI/CD pipelines, enabling automated workflow testing as part of your development process. These capabilities help accelerate development by providing instant feedback on workflow definitions, enabling validation of workflow behavior in your local environment, and catching potential issues earlier in the development cycle.
The enhanced TestState API is available through the AWS SDK in all AWS Regions where Step Functions is available. For a complete list of regions and service offerings, see AWS Regions.
To get started, you can access the TestState API through the AWS SDK, AWS CLI, or check out the AWS Step Functions Developer Guide.
Categories: general:products/aws-govcloud-us,general:products/aws-step-functions,marketing:marchitecture/application-services
Source: Amazon Web Services
Latest Posts
- (Updated) Account Switcher for Copilot Tab on iOS and Android [MC1068268]
![(Updated) Account Switcher for Copilot Tab on iOS and Android [MC1068268] 2 cubes 3381438 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Amazon CloudWatch application map now supports un-instrumented services discovery

- Validate and enforce required tags in CloudFormation, Terraform and Pulumi with Tag Policies

- Amazon EC2 introduces AMI ancestry for complete AMI lineage visibility


![(Updated) Account Switcher for Copilot Tab on iOS and Android [MC1068268] 2 cubes 3381438 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/cubes-3381438_1920-150x150.webp)



![(Updated) Microsoft Viva Engage: Smarter delivery of Community Announcement notifications [MC1143276] 7 (Updated) Microsoft Viva Engage: Smarter delivery of Community Announcement notifications [MC1143276]](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-jakubzerdzicki-18186227-96x96.webp)