Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Testing Spring Boot Microservices
Search
Alberto C. Ríos
May 08, 2018
Programming
53
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Testing Spring Boot Microservices
Practical experiences testing Spring Boot microservices
Alberto C. Ríos
May 08, 2018
More Decks by Alberto C. Ríos
See All by Alberto C. Ríos
Kubernetes local development workflow distilled
albertoimpl
0
68
Kubernetes local development workflow distilled
albertoimpl
0
63
Kubernetes Distilled
albertoimpl
0
260
Testing Microservices Pipeline
albertoimpl
0
69
Other Decks in Programming
See All in Programming
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
430
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
SREの越境 / SRE Collaboration
y0hgi
2
310
残高管理から台帳サービスへの進化
artoy
1
200
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
170
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
Kotlinの15年とServer-Side Kotlin
n_takehata
1
150
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
220
Featured
See All Featured
Practical Orchestrator
shlominoach
192
12k
Design in an AI World
tapps
1
350
Docker and Python
trallard
47
4.2k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
The agentic SEO stack - context over prompts
schlessera
0
970
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Raft: Consensus for Rubyists
vanstee
142
7.8k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
Test your architecture with Archunit
thirion
2
2.4k
Believing is Seeing
oripsolob
1
240
It's Worth the Effort
3n
188
29k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Transcript
Testing Microservices Practical experiences Greg Patricio and Alberto Ríos
This is a conversation We are going to be talking,
but feel free to stop us
Testing a stand-alone service User Service
Testing a stand-alone service Unit tests Integration tests Component tests
CT Testing a stand-alone service Controller Service Repository Mock Controller
Mock Service HTTP API Controller Repository DB IT UT HTTP API DB
When do we use Test Doubles? Service Mock Repo Unit
tests. Scope: class Unit
Code example: unit test
Code example: integration test
Code example: integration test
When do we use Test Doubles? Service Mock Repo Unit
tests. Scope: class Stub External Dep Component tests. Scope: whole service Unit Unit Service Http Client Controller
Code example: component test
Testing a service with an external dependency Billing Service User
Service
Testing a service with an external dependency Unit tests Integration
tests Component tests Contract Checks
What is a contract check? Billing Service User Service Contract
Check Can the service consume its external dependencies?
What is a contract check? Billing Service User Service Contract
Check Service HTTP Client Controller User Service Can the service consume its external dependencies? Billing Service
Code example: contract check
CT Testing a service with an external dependency Controller Service
HTTP Client Mock Controller Mock Service Mock HTTP Client HTTP API Controller HTTP Client Real User Service IT UT CC Controller Service Repository HTTP API DB
Acknowledgement Bengt G. Hammarlund Cassio Dias Pivotal-STCS Sonora team
Thank you! Questions?