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
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
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
組織で育むオブザーバビリティ
ryota_hnk
0
180
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
470
2026年 エンジニアリング自己学習法
yumechi
0
140
Fluid Templating in TYPO3 14
s2b
0
130
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
120
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
980
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
1
160
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1k
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
290
Featured
See All Featured
AI: The stuff that nobody shows you
jnunemaker
PRO
2
270
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
100
My Coaching Mixtape
mlcsv
0
48
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
100
GraphQLとの向き合い方2022年版
quramy
50
14k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
57
50k
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