About this episode
In this episode, we discuss integration testing event-driven systems and explore AWS's new Integration Application Test Kit (IATK). We cover the challenges of testing events and common approaches like logging, end-to-end testing, and using temporary queues. We then introduce IATK, walk through how to use it for EventBridge testing, and share our experience trying out the X-Ray trace validation. We found IATK promising but still rough around the edges, though overall a useful addition to help test complex event flows.
? SPONSORS ?
AWS Bites is brought to you by fourTheorem, an Advanced AWS Partner. If you are moving to AWS or need a partner to help you go faster, check us out at ????fourtheorem.com????!
In this episode, we mentioned the following resources:
sls-test-tools on GitHub: https://github.com/aleios-cloud/sls-test-tools
Sarah Hamilton’s article on Integration testing and how to use sls-test-tool: https://medium.com/serverless-transformation/bridge-integrity-integration-testing-strategy-for-eventbridge-based-serverless-architectures-b73529397251
Our previous episode on building a cross-account Event Bridge deployment: https://awsbites.com/39-how-do-you-build-a-cross-account-event-backbone-with-eventbridge/
Our IATK tests for the cross-account Event Bridge project: https://github.com/fourTheorem/cross-account-eventbridge/blob/main/test/integration/test_events.py
IATK tutorial: https://awslabs.github.io/aws-iatk/tutorial/
IATK examples: https://awslabs.github.io/aws-iatk/tutorial/examples/retrieve_cfn_info/
You can listen to AWS Bites wherever you get your podcasts:
Apple Podcasts:?????????????????????????????? https://podcasts.apple.com/us/podcast/aws-bites/id1585489017??????????????????????????????
Spotify: ??????????????????????????????https://open.spotify.com/show/3Lh7PzqBFV6yt5WsTAmO5q??????????????????????