testing-step-functions
aws-testing-library
testing-step-functions | aws-testing-library | |
---|---|---|
1 | 3 | |
9 | 126 | |
- | - | |
0.0 | 8.5 | |
about 2 years ago | 27 days ago | |
TypeScript | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
testing-step-functions
-
Testing AWS Step Functions flows
The code in this blog post is written in TypeScript and uses AWS CDK for infrastructure piece. This GitHub repository contains all the code used in this article.
aws-testing-library
-
Testing AWS Step Functions flows
First, I start the Step Function, and then I assert, using the aws-testing-library, whether the item was correctly saved into the Amazon DynamoDB.
-
Cloud Driven Development - Episode #001
aws-testing-library
-
Testing the Async Cloud with AWS CDK
When writing tests using something like aws-testing-library or sls-test-tools, we must have credentials to an AWS account that at least lets us send a few events and subscribe to or query the results in order to perform assertions. Depending on the stance of our organization about cloud access, this could be completely fine or it could be a never-gonna-happen dealbreaker. Often this kind of approach will be OK for a development environment, but it could be unlikely to fly in production.
What are some alternatives?
sls-test-tools - Custom Jest Assertions for Serverless integration testing.
Cypress - Fast, easy and reliable testing for anything that runs in a browser.
jest-codemods - Codemods for migrating to Jest https://github.com/facebook/jest 👾
cdk-eventbridge-socket - CDK construct that creates a WebSocket endpoint for you for any EventBridge rule you are interested in. (Built for debugging + testing )
qawolf - 🐺 Create browser tests 10x faster
cdk-async-testing-example
aws-cdk-rfcs - RFCs for the AWS CDK
websocat - Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
playwright-test - Build a cross-browser end-to-end test suite with Playwright.
root-cause - 🔍 [DEPRECATED] Root Cause is a tool for troubleshooting Puppeteer and Playwright tests. 🔎
dynamodb-documentclient-cheat-sheet - DynamoDB JavaScript DocumentClient cheat sheet