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 !
🔖 Chapters:
00:00 Introduction to integration testing challenges
00:54 Overview of integration testing approaches
04:30 Common techniques for testing events
06:01 Difference between integration tests and end-to-end (E2E) tests
06:44 Existing tools like SLS Test Tools
08:14 Introducing AWS IATK
09:34 Using IATK for EventBridge testing
12:09 Walkthrough of creating IATK tests
15:12 Validating traces with IATK and X-Ray
19:01 Issues faced with trace validation
21:06 Generating mock events with IATK
23:02 Thoughts and pros and cons of IATK
27:37 Closing notes
In this episode, we mentioned the following resources:
- sls-test-tools on GitHub: github.com/aleios-cloud/sls-t...
- Sarah Hamilton’s article on Integration testing and how to use sls-test-tool: / bridge-integrity-integ...
- Our previous episode on building a cross-account Event Bridge deployment: awsbites.com/39-how-do-you-bu...
- Our IATK tests for the cross-account Event Bridge project: github.com/fourTheorem/cross-...
- IATK tutorial: awslabs.github.io/aws-iatk/tu...
- IATK examples: awslabs.github.io/aws-iatk/tu...
You can listen to AWS Bites wherever you get your podcasts:
- Apple Podcasts: podcasts.apple.com/us/podcast...
- Spotify: open.spotify.com/show/3Lh7Pzq...
- Google: podcasts.google.com/feed/aHR0...
- Breaker: www.breaker.audio/aws-bites
- RSS: anchor.fm/s/6a3312a0/podcast/rss
Do you have any AWS questions you would like us to address?
Leave a comment here or connect with us on X, formerly Twitter:
- / eoins
- / loige
#aws #testing #integration
Негізгі бет Ғылым және технология 105. Integration Testing on AWS
Пікірлер