{"id":17340839,"url":"https://github.com/kenfdev/step-functions-testing","last_synced_at":"2025-04-14T19:06:32.110Z","repository":{"id":43736402,"uuid":"454776349","full_name":"kenfdev/step-functions-testing","owner":"kenfdev","description":"PoC to see if integration testing with Jest is doable with Step Functions Local","archived":false,"fork":false,"pushed_at":"2023-12-15T17:32:40.000Z","size":248,"stargazers_count":13,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-22T22:07:32.012Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kenfdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-02T13:01:28.000Z","updated_at":"2024-06-14T18:07:36.000Z","dependencies_parsed_at":"2022-09-08T06:21:53.773Z","dependency_job_id":null,"html_url":"https://github.com/kenfdev/step-functions-testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenfdev%2Fstep-functions-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenfdev%2Fstep-functions-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenfdev%2Fstep-functions-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenfdev%2Fstep-functions-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenfdev","download_url":"https://codeload.github.com/kenfdev/step-functions-testing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240760626,"owners_count":19853250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T15:46:42.226Z","updated_at":"2025-02-25T22:32:13.206Z","avatar_url":"https://github.com/kenfdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PoC Step Functions integration testing with Step Functions Local\n\nCredits on extracting the ASL from CDK go to the following repository:\n\nhttps://github.com/nathanagez/aws-cdk-state-machine-asl\n\nThere is also an excellent blog post and recommended to read:\n\nhttps://nathanagez.com/blog/mocking-service-integration-step-functions-local-cdk/\n\nThis repository takes a step further and creates the CDK within Jest and sends the ASL to Step Functions Local via the AWS SDK.\n\n## How to run the test\n\n```\n# install the dependencies\nnpm install # whatsoever\n\n# run the test(make sure you have docker installed)\nnpm test\n```\n\n## Reference\n\n- [Using Mocked Service Integrations - AWS Step Functions](https://docs.aws.amazon.com/step-functions/latest/dg/sfn-local-test-sm-exec.html)\n- [Mocking service integrations with AWS Step Functions Local | AWS Compute Blog](https://aws.amazon.com/jp/blogs/compute/mocking-service-integrations-with-aws-step-functions-local/)\n- [aws-stepfunctions-examples/sam/app-local-testing-mock-config at main · aws-samples/aws-stepfunctions-examples](https://github.com/aws-samples/aws-stepfunctions-examples/tree/main/sam/app-local-testing-mock-config/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenfdev%2Fstep-functions-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenfdev%2Fstep-functions-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenfdev%2Fstep-functions-testing/lists"}