Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
2022 API World - Testing Pyramid for Event-Driv...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Dan Siwiec
June 21, 2023
Programming
0
35
2022 API World - Testing Pyramid for Event-Driven Systems
Dan Siwiec
June 21, 2023
Tweet
Share
Other Decks in Programming
See All in Programming
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
590
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
Patterns of Patterns
denyspoltorak
0
1.4k
Raku Raku Notion 20260128
hareyakayuruyaka
0
330
Fluid Templating in TYPO3 14
s2b
0
130
Package Management Learnings from Homebrew
mikemcquaid
0
230
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1k
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
2.5k
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
1
150
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
470
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
380
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
120
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
62
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
The Language of Interfaces
destraynor
162
26k
Making Projects Easy
brettharned
120
6.6k
Navigating Team Friction
lara
192
16k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Transcript
Testing Pyramid for Event-Driven Systems Dan Siwiec
Hi. I’m a software architect with 15 years of experience
across multiple domains - health care, telco, travel, banking, retail, recently in love with Kotlin. 🌍 https://danoncoding.com https://github.com/danielsiwiec ✉
[email protected]
What is a TESTING PYRAMID?
Testing Pyramid Demystified End to End Service Unit
Testing Pyramid Demystified End to End Service Unit In-memory tests,
exercising the smallest, testable part of the application. Often a method or a class.
Testing Pyramid Demystified End to End Unit Service In-memory tests,
exercising one component at a time, treating it as a black box. Also called service tests.
Testing Pyramid Demystified End to End Service Unit Browser tests
or cross-service tests on a deployed environment exercising a complete flow
Testing Pyramid Demystified End to End Service Unit Exploratory, ad-hoc
testing or investigation. Focus on learning, rather than validation. Manual
Testing Pyramid Demystified End to End Manual Service Unit
Use Case: ORDER PROCESSING
Happy Order Flow 1. User submits order 2. Is there
inventory? 3. Process payment 4. Send shipment On each step send customer a notification
Point-to-point system
Event-Driven System
Test Pyramid APPLIED
Unit Testing End to End Service Unit
Payment Service
Unit Testing
Unit Testing
None
None
None
None
None
None
Service Testing End to End Unit Service
Service Testing
Service Testing
None
None
None
None
None
None
None
None
None
None
None
None
End-to-End Testing End to End Service Unit
System Under Test: End-to-End Testing
None
None
None
Bonus: Performance Tests
None
None
None
Event-Driven System
Event-Driven System
None
None
None
Final Considerations
Pyramid Revisited Flakiness User Focus Time End to End Service
Unit
Pyramid Revisited Flakiness User Focus Time End to End Service
Unit
Pyramid Revisited Flakiness User Focus Time Resilience to Refactoring End
to End Service Unit
Testing Diamond End to End Service Unit Flakiness User Focus
Time Resilience to Refactoring
https:/ /github.com/danielsiwiec/event-driven-demo
Thank you.
[email protected]
https:/ /danoncoding.com