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
260
Testing Reactivity in GraphQL
Testbusters Vienna
SQUER Solutions
June 25, 2020
Tweet
Share
More Decks by SQUER Solutions
See All by SQUER Solutions
AI-Driven Legacy Decomposition
squer
0
140
Plural of Platforms
squer
1
85
Demystifying Event Sourcing – A Practical Approach by Shahab Ganji
squer
0
150
Architecting Distributed Systems at Scale — From Pain to Pattern
squer
0
260
Empowering-developers-with-Roslyn.pdf
squer
0
140
Building Event Driven Systems at Scale with Azure Cosmos DB
squer
0
160
Building Event-Driven Systems at Scale with Azure Cosmos DB
squer
0
130
Platform Engineering: It's Not What You Think It Is
squer
0
340
Patterns Of Architectural Modernization
squer
1
510
Other Decks in Programming
See All in Programming
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
1k
ロボットのための工場に灯りは要らない
watany
10
2.6k
How to stabilize UI tests using XCTest
akkeylab
0
110
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
15
8.5k
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
270
Vuetify 3 → 4 何が変わった?差分と移行ポイント10分まとめ
koukimiura
0
120
SourceGeneratorのマーカー属性問題について
htkym
0
180
CSC307 Lecture 15
javiergs
PRO
0
240
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
990
「抽象に依存せよ」が分からなかった新卒1年目の私が Goのインターフェースと和解するまで
kurogenki
0
110
Unity6.3 AudioUpdate
cova8bitdots
0
120
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
400
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
160
Making the Leap to Tech Lead
cromwellryan
135
9.8k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
410
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
GitHub's CSS Performance
jonrohan
1032
470k
Building the Perfect Custom Keyboard
takai
2
710
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
140
Scaling GitHub
holman
464
140k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
970
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
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