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
220
Testing Reactivity in GraphQL
Testbusters Vienna
SQUER Solutions
June 25, 2020
Tweet
Share
More Decks by SQUER Solutions
See All by SQUER Solutions
Empowering-developers-with-Roslyn.pdf
squer
0
10
Building Event Driven Systems at Scale with Azure Cosmos DB
squer
0
22
Building Event-Driven Systems at Scale with Azure Cosmos DB
squer
0
9
Platform Engineering: It's Not What You Think It Is
squer
0
110
Patterns Of Architectural Modernization
squer
1
260
Architecting for Scale
squer
0
110
Platform Engineering: It's Not What You Think It Is
squer
0
130
Platform Engineering— the Good, the Bad, and the Ugly
squer
1
240
Your Platform Monolith is Probably a Bad Idea
squer
1
140
Other Decks in Programming
See All in Programming
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
120
Arm移行タイムアタック
qnighy
0
320
Ethereum_.pdf
nekomatu
0
460
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
900
受け取る人から提供する人になるということ
little_rubyist
0
230
Outline View in SwiftUI
1024jp
1
330
Better Code Design in PHP
afilina
PRO
0
120
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
Realtime API 入門
riofujimon
0
150
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
170
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
330
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
693
190k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Code Reviewing Like a Champion
maltzj
520
39k
We Have a Design System, Now What?
morganepeng
50
7.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
Designing Experiences People Love
moore
138
23k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
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