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 React Using Jest
Search
Yoan Pratama Putra
April 10, 2017
Programming
1
120
Testing React Using Jest
This is my slides from my talk at ReactID on 10 April 2017
Yoan Pratama Putra
April 10, 2017
Tweet
Share
More Decks by Yoan Pratama Putra
See All by Yoan Pratama Putra
Painless UI Testing With Jest
oshimayoan
0
140
Other Decks in Programming
See All in Programming
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.2k
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
630
JavaでLチカしたい! / JJUG CCC 2024 Fall LT
nhayato
0
120
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
340
Identifying User Idenity
moro
6
9.5k
破壊せよ!データ破壊駆動で考えるドメインモデリング / data-destroy-driven
minodriven
17
4.3k
Outline View in SwiftUI
1024jp
1
290
詳細解説! ArrayListの仕組みと実装
yujisoftware
0
540
GCCのプラグインを作る / I Made a GCC Plugin
shouth
1
160
Better Code Design in PHP
afilina
PRO
0
110
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
4
2k
AWS IaCの注目アップデート 2024年10月版
konokenj
3
3.3k
Featured
See All Featured
Building an army of robots
kneath
302
42k
Done Done
chrislema
181
16k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Code Review Best Practice
trishagee
64
17k
Faster Mobile Websites
deanohume
305
30k
Designing Experiences People Love
moore
138
23k
Embracing the Ebb and Flow
colly
84
4.5k
GraphQLとの向き合い方2022年版
quramy
43
13k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
43
6.8k
Transcript
TESTING REACT USING JEST
None
✓ EASY TO SETUP ✓ FAST ✓ INSTANT FEEDBACK ✓
SNAPSHOT TESTING
None
None
None
None
None
None
HOW ABOUT REACT COMPONENTS?
SNAPSHOT TESTING
None
None
WHAT SHOULD WE TEST?
✓ RENDERED COMPONENT WITH NO LIST ✓ RENDERED COMPONENT WITH
LIST ✓ RENDERED COMPONENT WITH FILTERED LIST
None
None
None
None
None
None
None
None
None
None
None
None
SNAPSHOT TESTING PASS FAIL CHANGED BUG
None
None
Thank you! @oshimayoan oshimayoan/testing-react-demo