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
Testing Reactivity in GraphQL
Search
SQUER Solutions
June 25, 2020
Programming
0
250
Testing Reactivity in GraphQL
Testbusters Vienna
SQUER Solutions
June 25, 2020
Tweet
Share
More Decks by SQUER Solutions
See All by SQUER Solutions
Demystifying Event Sourcing – A Practical Approach by Shahab Ganji
squer
0
47
Architecting Distributed Systems at Scale — From Pain to Pattern
squer
0
140
Empowering-developers-with-Roslyn.pdf
squer
0
81
Building Event Driven Systems at Scale with Azure Cosmos DB
squer
0
110
Building Event-Driven Systems at Scale with Azure Cosmos DB
squer
0
75
Platform Engineering: It's Not What You Think It Is
squer
0
240
Patterns Of Architectural Modernization
squer
1
410
Architecting for Scale
squer
0
190
Platform Engineering: It's Not What You Think It Is
squer
0
200
Other Decks in Programming
See All in Programming
Deep Dive into ~/.claude/projects
hiragram
14
14k
SQLアンチパターン第2版 データベースプログラミングで陥りがちな失敗とその対策 / Intro to SQL Antipatterns 2nd
twada
PRO
11
1.3k
なぜ「共通化」を考え、失敗を繰り返すのか
rinchoku
1
680
DMMを支える決済基盤の技術的負債にどう立ち向かうか / Addressing Technical Debt in Payment Infrastructure
yoshiyoshifujii
3
410
dbt民主化とLLMによる開発ブースト ~ AI Readyな分析サイクルを目指して ~
yoshyum
3
1.1k
TypeScriptでDXを上げろ! Hono編
yusukebe
3
770
AIともっと楽するE2Eテスト
myohei
8
3k
マッチングアプリにおけるフリックUIで苦労したこと
yuheiito
0
190
AWS Summit Japan 2024と2025の比較/はじめてのKiro、今あなたは岐路に立つ
satoshi256kbyte
0
120
「App Intent」よくわからんけどすごい!
rinngo0302
1
100
Startups on Rails in Past, Present and Future–Irina Nazarova, RailsConf 2025
irinanazarova
0
240
ソフトウェア品質を数字で捉える技術。事業成長を支えるシステム品質の マネジメント
takuya542
2
15k
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Being A Developer After 40
akosma
90
590k
RailsConf 2023
tenderlove
30
1.1k
Rails Girls Zürich Keynote
gr2m
95
14k
Code Review Best Practice
trishagee
69
19k
How GitHub (no longer) Works
holman
314
140k
Side Projects
sachag
455
42k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Gamification - CAS2011
davidbonilla
81
5.4k
Documentation Writing (for coders)
carmenintech
72
4.9k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Transcript
@duffleit Testing Reactivity in GraphQL RBI Testing Day & TestBustersNight
@StayAtHome Edition David Leitner - @duffleit
@duffleit @duffleit @duffleit
[email protected]
David Leitner Lead Engineer
@duffleit Testing Reactivity in GraphQL Testing Reactivity in GraphQL
@duffleit reactivemanifesto.org
@duffleit
@duffleit
@duffleit
@duffleit
@duffleit
@duffleit MicroService A MicroService B
@duffleit MicroService A MicroService B
@duffleit MicroService A MicroService B MicroService B MicroService B
@duffleit MicroService A MicroService B MicroService B MicroService B
@duffleit MicroService A MicroService B
@duffleit MicroService A MicroService B
@duffleit Lambda/Actor/Microservice Lambda/Actor/Microservice Lambda/Actor/Microservice Backend for Frontend HTTP GraphQL
@duffleit Testing Reactivity in GraphQL
@duffleit ✅ Consumer Driven APIs ✅ Native Schema Support ✅
Streaming Support
@duffleit Error: GraphQL Context not defined
@duffleit ✅ Works But, not a Unit Test anymore.
@duffleit ✅ Works as test in isolation
@duffleit
@duffleit
@duffleit
@duffleit GraphQL enables Consumer Driven Contract Testing naturally
@duffleit
@duffleit Lambda/Actor/Microservice Lambda/Actor/Microservice Lambda/Actor/Microservice Backend for Frontend HTTP GraphQL State
Hydration Inject Test State
@duffleit Lambda/Actor/Microservice Lambda/Actor/Microservice Lambda/Actor/Microservice Backend for Frontend HTTP GraphQL State
Hydration Inject Test State Inject Test State
@duffleit Lambda/Actor/Microservice Lambda/Actor/Microservice Lambda/Actor/Microservice Backend for Frontend HTTP GraphQL State
Hydration
@duffleit
@duffleit GraphQL changes the way how to test, but not
the fact that you should test.
@duffleit by: twitter.com/swardley
@duffleit @duffleit @duffleit squer.at/slides David Leitner
[email protected]
@duffleit