#TestState
And we're on a roll... here's ANOTHER newly-announced AWS feature that LocalStack already supports. Thanks to our partnership with the AWS Step Functions team, you can use the new TestState enhancements with LocalStack! (AI = Already Implemented!)

#localstack #awsstepfunctions #ai
The AWS Step Functions team just released new enhancements to the TestState API which LocalStack supports:

✅ Mock Task state results
✅ Skip execution roles in mocking
✅ Test *every* state type
✅ Submit full state machine definitions
✅ Mock context fields

🔗 blog.localstack.cloud/effective-un...
Effective Unit Testing for AWS Step Functions
AWS recently introduced enhancements to the TestState API for unit-testing individual states in a Step Functions state machine and LocalStack has partnered with them to support using this new feature…
blog.localstack.cloud
December 3, 2025 at 4:42 PM
The AWS Step Functions team just released new enhancements to the TestState API which LocalStack supports:

✅ Mock Task state results
✅ Skip execution roles in mocking
✅ Test *every* state type
✅ Submit full state machine definitions
✅ Mock context fields

🔗 blog.localstack.cloud/effective-un...
Effective Unit Testing for AWS Step Functions
AWS recently introduced enhancements to the TestState API for unit-testing individual states in a Step Functions state machine and LocalStack has partnered with them to support using this new feature…
blog.localstack.cloud
December 3, 2025 at 4:27 PM
We also use a similar pattern: a TestState struct with all the setup and cleanup logic.
October 28, 2024 at 2:48 PM
AWS Step Functions enhances Local Testing with TestState API

AWS Step Functions' enhanced TestState API enables local unit testing of complete workflows, including Map and Parallel states, without deployment. It supports mocking AWS service integrations with API contract validation.
November 20, 2025 at 5:10 PM
AWS Step Functions enhances Local Testing with TestState API

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, ...

#AWS #AwsGovcloudUs #AwsStepFunctions
AWS Step Functions enhances Local Testing with TestState API
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. https://aws.amazon.com/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 https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/. To get started, you can access the TestState API through the AWS SDK, AWS CLI, or check out the AWS Step Functions https://docs.aws.amazon.com/step-functions/latest/dg/test-state-isolation.html.
aws.amazon.com
November 20, 2025 at 6:05 PM
🆕 AWS Step Functions now supports local unit testing with TestState API, validating logic and error handling without deployment, aiding early issue detection and speeding up development. Available in all Step Functions regions.

#AWS #AwsGovcloudUs #AwsStepFunctions
AWS Step Functions enhances Local Testing with TestState API
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.
aws.amazon.com
November 20, 2025 at 5:40 PM
AWS Step Functions TestState now available in the AWS GovCloud (US) Regions

AWS Step Functions now offers TestState in the AWS GovCloud (US-East) and AWS GovCloud (US-West) Regions. This expansion allows customers operating in these regions to test indivi...

#AWS #AwsStepFunctions #AwsGovcloudUs
AWS Step Functions TestState now available in the AWS GovCloud (US) Regions
AWS Step Functions now offers TestState in the AWS GovCloud (US-East) and AWS GovCloud (US-West) Regions. This expansion allows customers operating in these regions to test individual states of their workflows without creating or updating existing state machines, helping to enhance the development and troubleshooting process for their applications. https://aws.amazon.com/step-functions/ is a visual workflow service that enables customers to build distributed applications, automate IT and business processes, and build data and machine learning pipelines using AWS services. TestState allows developers to validate a state's input and output processing, test AWS service integrations, and verify HTTP task requests and responses. With TestState now available in the AWS GovCloud (US) Regions, customers can test and validate individual workflow steps. TestState supports various state types including Task, Pass, Wait, Choice, Succeed, and Fail, with tests running for up to five minutes. This feature is now generally available in the AWS GovCloud (US-East) and AWS GovCloud (US-West) Regions, in addition to all commercial regions where AWS Step Functions is available. To learn more about TestState and how to incorporate it into your workflow development process, visit the AWS Step Functions https://docs.aws.amazon.com/step-functions/latest/dg/test-state-isolation.html. You can start testing your workflow states using the Step Functions console, AWS Command Line Interface (CLI), or AWS SDKs.
aws.amazon.com
June 20, 2025 at 11:05 PM
Accelerate workflow development with enhanced local testing in AWS Step Functions

AWS Step Functions' enhanced TestState API now enables local unit testing with mocking support, comprehensive sta...

#AWS #ApplicationIntegration #ApplicationServices #AwsStepFunctions #DeveloperTools #Launch #News
Accelerate workflow development with enhanced local testing in AWS Step Functions
AWS Step Functions' enhanced TestState API now enables local unit testing with mocking support, comprehensive state type validation, and individual state testing capabilities without requiring AWS deployment or IAM permissions.
aws.amazon.com
November 19, 2025 at 11:05 PM
🆕 AWS Step Functions TestState now available in AWS GovCloud (US) Regions, enabling workflow state testing without altering existing state machines, enhancing development and troubleshooting in these regions.

#AWS #AwsStepFunctions #AwsGovcloudUs
AWS Step Functions TestState now available in the AWS GovCloud (US) Regions
AWS Step Functions now offers TestState in the AWS GovCloud (US-East) and AWS GovCloud (US-West) Regions. This expansion allows customers operating in these regions to test individual states of their workflows without creating or updating existing state machines, helping to enhance the development and troubleshooting process for their applications. AWS Step Functions is a visual workflow service that enables customers to build distributed applications, automate IT and business processes, and build data and machine learning pipelines using AWS services. TestState allows developers to validate a state's input and output processing, test AWS service integrations, and verify HTTP task requests and responses. With TestState now available in the AWS GovCloud (US) Regions, customers can test and validate individual workflow steps. TestState supports various state types including Task, Pass, Wait, Choice, Succeed, and Fail, with tests running for up to five minutes. This feature is now generally available in the AWS GovCloud (US-East) and AWS GovCloud (US-West) Regions, in addition to all commercial regions where AWS Step Functions is available. To learn more about TestState and how to incorporate it into your workflow development process, visit the AWS Step Functions documentation. You can start testing your workflow states using the Step Functions console, AWS Command Line Interface (CLI), or AWS SDKs.
aws.amazon.com
June 20, 2025 at 10:40 PM
/server"
"github.com/honk-client/honk/utility"
"github.com/stretchr/testify/assert"
)

const TestPort = 4444
const TestDataDir = "./data"

type testState struct {
server *server.Server
client *client.Client
}

func TestServerCreate(t *testing.T) {
June 3, 2023 at 10:31 PM
📰 New article by Donnie Prakoso

Accelerate workflow development with enhanced local testing in AWS Step Functions

#AWS #News
Accelerate workflow development with enhanced local testing in AWS Step Functions
AWS Step Functions’ enhanced TestState API now enables local unit testing with mocking support, comprehensive state type validation, and individual state testing capabilities without requiring AWS deployment or IAM permissions.
aws.amazon.com
November 19, 2025 at 10:16 PM
AWS Step FunctionsのTestState APIが強化され、ローカル環境でワークフローのユニットテストが可能に。MapやParallel状態を含む複雑なロジックやエラー処理を、AWSにデプロイせずに検証できます。モックによるAWS連携テストや自動テストも実現し、開発サイクルを加速します。

aws.amazon.com/about-aws/wh...
November 20, 2025 at 11:22 PM
AWS Step FunctionsのTestStateがAWS GovCloud (US) Regionで利用可能になり、既存のステートマシンを変更せずにワークフローの個々の状態をテストできます。これにより、開発とトラブルシューティングが効率化され、さまざまな状態タイプに対応しています。

aws.amazon.com/about-aws/wh...
June 20, 2025 at 11:21 PM
AWS Step Functions Workflow StudioがVS CodeのAWS Toolkitに追加。ローカル環境で視覚的にステートマシンワークフローを作成、編集、デバッグ可能に。220以上のAWSサービスの14,000以上のAPIアクションをオーケストレーションし、ワークフロー定義を自動生成。VS Code上でインフラコードツールと連携し、TestState APIによるデバッグも可能。

aws.amazon.com/about-aws/wh...
March 6, 2025 at 11:19 PM
Whether you're building approval flows, integrating with third-party APIs, or validating complex JsonPath expressions, the new TestState makes it easier to catch edge cases early.

Try it today with the `latest` LocalStack image!
December 3, 2025 at 4:28 PM
AWS Step Functions enhances Local Testing with TestState API
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.
dlvr.it
November 20, 2025 at 5:10 PM
AWS Step Functions TestState now available in the AWS GovCloud (US) Regions
AWS Step Functions now offers TestState in the AWS GovCloud (US-East) and AWS GovCloud (US-West) Regions. This expansion allows customers operating in these regions to test individual states of their workflows without creating or updating existing state machines, helping to enhance the development and troubleshooting process for their applications. AWS Step Functions is a visual workflow service that enables customers to build distributed applications, automate IT and business processes, and build data and machine learning pipelines using AWS services. TestState allows developers to validate a state's input and output processing, test AWS service integrations, and verify HTTP task requests and responses. With TestState now available in the AWS GovCloud (US) Regions, customers can test and validate individual workflow steps. TestState supports various state types including Task, Pass, Wait, Choice, Succeed, and Fail, with tests running for up to five minutes. This feature is now generally available in the AWS GovCloud (US-East) and AWS GovCloud (US-West) Regions, in addition to all commercial regions where AWS Step Functions is available. To learn more about TestState and how to incorporate it into your workflow development process, visit the AWS Step Functions documentation. You can start testing your workflow states using the Step Functions console, AWS Command Line Interface (CLI), or AWS SDKs.
dlvr.it
June 20, 2025 at 10:12 PM
#うひーメモ
2023-11-27 19:05:01
[アップデート] AWS Step FunctionsがHTTPエンドポイントおよびTestState APIをサポートしました #AWSreinvent
#技術系ブログ等
#アップデート
#awsreinvent
#awsstepfunctions
[アップデート] AWS Step FunctionsがHTTPエンドポイントおよびTestState APIをサポートしました #AWSreinvent
こんにちはサービス開発室の武田ですreInvent期間ということで次から次へとアップデートが発表されていますねさて今回はAWSStepFunctionsのアップデートです次のつの機能が同時に発表され
dev.classmethod.jp
November 27, 2023 at 10:05 AM
AWS Step Functions' enhanced TestState API enables developers to validate workflows locally before deployment by testing individual states or complete workflows with mock responses, error simulation, retry mechanisms, and context object validation.
Testing Step Functions workflows: a guide to the enhanced TestState API
AWS Step Functions' enhanced TestState API enables developers to validate workflows locally before deployment by testing individual states or complete workflows with mock responses, error simulation, retry mechanisms, and context object validation.
aws-news.com
March 22, 2026 at 5:08 PM
AWS Step Functions enhances the TestState API to enable local unit testing of workflows with support for advanced patterns, error handling, and mocked AWS service integrations before deployment.
AWS Step Functions enhances Local Testing with TestState API
AWS Step Functions enhances the TestState API to enable local unit testing of workflows with support for advanced patterns, error handling, and mocked AWS service integrations before deployment.
aws-news.com
November 20, 2025 at 4:46 PM