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
Painless UI Testing with Jest
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Andi N. Dirgantara
April 19, 2017
Programming
1
140
Painless UI Testing with Jest
This slides was presented on f8meetupmalang2017.splashthat.com by Yoan Pratama Putra from KodeFox.
Andi N. Dirgantara
April 19, 2017
Tweet
Share
More Decks by Andi N. Dirgantara
See All by Andi N. Dirgantara
Building Scalable and Flexible API by Leveraging GraphQL and BigTable
hellowin
0
83
How Traveloka Handle Data Pipeline for Big Things?
hellowin
4
630
Data Lake Implementation in Traveloka
hellowin
2
340
How Big Data Platform Handle Big Things
hellowin
1
160
How Big Data Works in Sale Stock
hellowin
4
500
Interactive Animations with React Native
hellowin
0
180
Loopback Framework for Developing REST API with Node.js
hellowin
1
170
Facebook Developer Circle: Malang - Initial Meet Up
hellowin
0
120
Other Decks in Programming
See All in Programming
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
Package Management Learnings from Homebrew
mikemcquaid
0
220
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
560
AI時代の認知負荷との向き合い方
optfit
0
160
Oxlint JS plugins
kazupon
1
910
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
AI巻き込み型コードレビューのススメ
nealle
1
210
CSC307 Lecture 06
javiergs
PRO
0
680
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
今から始めるClaude Code超入門
448jp
8
8.7k
Featured
See All Featured
Music & Morning Musume
bryan
47
7.1k
sira's awesome portfolio website redesign presentation
elsirapls
0
150
KATA
mclloyd
PRO
34
15k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Design in an AI World
tapps
0
140
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Designing Powerful Visuals for Engaging Learning
tmiket
0
230
Claude Code のすすめ
schroneko
67
210k
Transcript
PAINLESS UI TESTING WITH JEST YOAN PRATAMA PUTRA
TESTING TESTING TESTING TESTING TESTING TESTING TESTING TESTING TESTING
WHY TESTING?
PAINLESS UI TESTING WITH JEST - KODEFOX ▸ To find
bugs ▸ To find defects ▸ To ensure what we create does not break ▸ To ensure what we create does what it is supposed to do
HOW TO DO TESTING?
None
PAINLESS UI TESTING WITH JEST - KODEFOX ▸ Fast ▸
Easy Setup ▸ Instant Feedback ▸ Snapshot Testing ▸ From Facebook
PAINLESS UI TESTING WITH JEST - KODEFOX ▸ Watch mode
▸ Mock modules and functions ▸ Mock react native components ▸ Mock react native platform OS FEATURES
None
None
WHAT ABOUT UI COMPONENTS?
SNAPSHOT TESTING
None
expect(component).toMatchSnapshot() get the output of the function save it into
a .snap file has saved snapshot? compare snapshots
SNAPSHOT TESTING PASS FAIL CHANGED BUG
None
None
None
None
None
None
None
WHAT WILL HAPPEN?
None
None
SNAPSHOT TESTING PASS FAIL CHANGED BUG
WHAT WILL HAPPEN?
None
SNAPSHOT TESTING PASS FAIL CHANGED BUG
PAINLESS UI TESTING WITH JEST - KODEFOX BENEFITS OF SNAPSHOT
TESTING ▸ Automated process ▸ Adapt to changes ▸ Easy to maintain
Thank you! @oshimayoan oshimayoan/testing-react-demo