Would you recommend Serverless as an end-to-end testing tool?



Hi there,

I am interested in setting up automated end-to-end testing for my application. I make use of a lot of internal AWS services such as Step Functions, KMS, VPC, and Batch, making it very difficult to confidently deploy from unit/integration tests in a CI system.

An end-to-end testing system in Serverless could be a series of Step Functions (see serverless-step-functions) that are each a separate e2e test. Each Step Function can be scheduled to run daily using a Cloudwatch alarm. What do you think of this strategy?


It could work, but not sure what Serverless is really giving you in that scenario. If you’re using CloudFormation to manage your service resources, maybe something like this pattern from AWS would help you test them?