How to include SNS and Kinesis in your e2e tests

Written by theburningmonk | Published 2019/09/18
Tech Story Tags: aws | aws-lambda | serverless | cloud-computing | cloud | testing | end-to-end-testing-javascript | hackernoon-top-story

TLDR Event-driven is a key characteristic of serverless architecture. Often Lambda functions publish events to SNS topics or Kinesis streams instead of calling downstream APIs directly. This is a great way for building systems in a loosely-coupled way. But it’s not without its drawbacks: they’re harder to test end-to-end. In this post, we’ll discuss two ways you can include SNS and Kineis outputs in your tests. Both approaches follow the same pattern of deploying resources only for the e2e-test stage.via the TL;DR App

no story

Written by theburningmonk | AWS Serverless Hero. Independent Consultant. Developer Advocate at Lumigo.
Published by HackerNoon on 2019/09/18