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 Strategies on the F...
Search
hrkzmaaa
October 12, 2022
Programming
2
1.6k
フロントエンドにおけるテスト戦略 / Testing Strategies on the Front End
hrkzmaaa
October 12, 2022
Tweet
Share
Other Decks in Programming
See All in Programming
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
2
460
Zoneless Testing
rainerhahnekamp
0
120
Criando Commits Incríveis no Git
marcelgsantos
2
170
.NET 9アプリをCGIとして レンタルサーバーで動かす
mayuki
1
770
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
180
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.6k
バグを見つけた?それAppleに直してもらおう!
uetyo
0
170
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
130
似たもの同士のPerlとPHP
uzulla
1
130
暇に任せてProxmoxコンソール 作ってみました
karugamo
1
710
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.9k
Jakarta EE meets AI
ivargrimstad
0
230
Featured
See All Featured
A Philosophy of Restraint
colly
203
16k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Optimising Largest Contentful Paint
csswizardry
33
3k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Become a Pro
speakerdeck
PRO
26
5k
Adopting Sorbet at Scale
ufuk
73
9.1k
Designing for Performance
lara
604
68k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
A designer walks into a library…
pauljervisheath
204
24k
4 Signs Your Business is Dying
shpigford
181
21k
Transcript
ϑϩϯτΤϯυʹ͓͚Δςετઓུ 4&44*0/
4QFBLFS ฏਅ ݄ʹϑϩϯτΤϯυΤϯδχΞͱͯ͠ גࣜձࣾϠϓϦʹೖࣾ 7VFKT /VYUKTྺ 5ZQF4DSJQUྺ +FTUͱWVFUFTUVUJMTΛ༻͍ͨϑϩϯτΤϯυςετͷ ֦ॆΛϦʔυͯ͠׆ಈ
*/%&9 ϑϩϯτΤϯυνʔϜͷׂ ϑϩϯτΤϯυςετͷ՝ Ұൠతͳςετछྨख๏ʹ͍ͭͯ ϠϓϦʹ͓͚ΔϑϩϯτΤϯυςετͷઓུ
·ͱΊ
ϠϓϦͰ࠾༻͍ͯ͠Δٕज़ελοΫ ϑϨʔϜϫʔΫɿ ঢ়ଶཧɿ7VFY όοΫΤϯυͱͷ௨৴ɿ طଘͷ7VFϑΝΠϧɿ0QUJPOT"1* +BWB4DSJQU ৽نͷ7VFϑΝΠϧɿ0QUJPOT"1* 5ZQF4DSJQU PS$PNQPTJUJPO"1*
ϑϩϯτΤϯυνʔϜͷׂ ϠϓϦͷϑϩϯτΤϯυྖҬཧը໘Ͱ͋Δ$.4ΛϝΠϯʹ։ൃΛ͍ͯ͠Δɻ $.4ͷ։ൃαʔόʔαΠυΤϯδχΞߦ͓ͬͯΓɺϑϩϯτΤϯυΤϯδχ ΞΑΓઐੑΛߴΊͨಇ͖ํʹ࣌ؒΛඅ͢͜ͱ͕ग़དྷΔΑ͏ʹͳͬͨɻ $.4ʢཧը໘ʣ αʔόʔ ΞϓϦ J04ΤϯδχΞ "OESPJEΤϯδχΞ αʔόʔαΠυΤϯδχΞ
ϑϩϯτΤϯυΤϯδχΞ
ϑϩϯτΤϯυνʔϜͷׂ $.4ͷٕज़తෛ࠴ͷղফϝϯςφϯεΛ࣠ʹ׆ಈ͍ͯ͠Δɻ ɾ্࣭ͷͨΊͷϑϩϯτΤϯυςετͷඋ ɾ։ൃମݧ্ͷͨΊͷϦϑΝΫλϦϯάʢ7VFίϯϙʔωϯτͷ54Խʣ ɾϢʔβϏϦςΟ্Λతͱͨ͠σβΠϯγεςϜͷߏங ɾͦͷଞւ֎ల։Λݟਾ͑ͨଟݴޠରԠͳͲ ৄ͘͠ϠϓϦςοΫϒϩάʹաڈهࣄ͋Γ·͢
ϑϩϯτΤϯυςετͷ՝ ɾͲ͜·ͰςετίʔυΛॻ͚ྑ͍ͷ͔ෆ໌ྎ ɾ͋Δఔ&4-JOUͱ5ZQF4DSJQUͷ੩తղੳͰΧόʔͰ͖Δ͕ɺςετίʔυͰ ΧόʔͰ͖Δ෦Λ૿͍ͨ͠ ɾखͰಈ͔ͯ֬͠ೝ͢ΔΑΓςετͰ֬ೝͰ͖ͨํ͕ίετ͕͔͔Βͳ͍ͷͰ ͱ͍͏ظ
Ұൠతͳςετछྨख๏ʹ͍ͭͯ ςετछྨ ੩తղੳ 5ZQF4DSJQUͳͲͷ੩తܕ͚ݴޠ&4-JOUΛ༻͍ͨͷ Ϣχοτςετ ΫϥεϝιουΛ୯ମͰςετ͢Δ ϑϩϯτΤϯυͰ+FTUNPDIBͳͲͷπʔϧ͕༗໊ ΠϯςάϨʔγϣϯςετ ෳͷΫϥεϝιουΛςετ͢Δ "1*ϞοΫ͞ΕͨͷΛ͏
6* && ςετ γεςϜશମΛ௨ͯ͠ςετ͢Δ ϑϩϯτ͚ͩͰͳ࣮͘ࡍʹ"1*ϦΫΤετ͔Βը໘ඳը·Ͱߦ͏
Ұൠతͳςετछྨख๏ʹ͍ͭͯ ςετϐϥϛου 65 *5 45 65ɿϢχοτςετ *5ɿΠϯςάϨʔγϣϯςετ 45ɿγεςϜςετ
Ұൠతͳςετछྨख๏ʹ͍ͭͯ """ύλʔϯ "SSBOHFʢ४උʣ "DUʢ࣮ߦʣ "TTFSUʢݕূʣ ͷॱ൪ͰςετίʔυΛॻ͘͜ͱͰςετίʔυͷՄಡੑ্͕͕Δ
ϠϓϦʹ͓͚ΔϑϩϯτΤϯυςετͷઓུ ϠϓϦͷ$.4ʹ͓͚Δݱঢ় ɹ੩తղੳɿ˓ ɹϢχοτςετɿ˚ ɹΠϯςάϨʔγϣϯςετɿº ɹ6*ʢ&&ʣςετɿ˚ʢ2"ͰखಈͰؤு͍ͬͯΔͷ͕ϝΠϯʣ
ϠϓϦʹ͓͚ΔϑϩϯτΤϯυςετͷઓུ ʢͦͦʣϢχοτςετ͕গͳ͍ େͳϏδωεϩδοΫ͕4UPSFʹ٧·͍ͬͯΔ ˣ ɾ4UPSFԼͷϑΝΠϧʹରͯ͠Ϣχοτςετ ɾ7VFίϯϙʔωϯτʹରͯ͠εφοϓγϣοτςετ ɾ֤ϑΝΠϧͷ4UBUFNFOUΧόϨοδ͕Ҏ্ͱͳΔ͜ͱΛΰʔϧ
ϠϓϦʹ͓͚ΔϑϩϯτΤϯυςετͷઓུ 7VFYNVUBUJPOTͷ߹ TUPSFJOEFYUT TUPSF@@UFTUT@@JOEFYTQFDUT
ϠϓϦʹ͓͚ΔϑϩϯτΤϯυςετͷઓུ 7VFYBDUJPOTͷ߹ TUPSF@@UFTUT@@JOEFYTQFDUT TUPSFJOEFYUT
ϠϓϦʹ͓͚ΔϑϩϯτΤϯυςετͷઓུ 7VFYBDUJPOTͷ߹ TUPSF@@UFTUT@@JOEFYTQFDUT TUPSFJOEFYUT
ϠϓϦʹ͓͚ΔϑϩϯτΤϯυςετͷઓུ 7VFίϯϙʔωϯτͷ߹ DPNQPOFOUT#VUUPOWVF DPNQPOFOUT@@UFTUT@@CVUUPOTQFDUT
ϠϓϦʹ͓͚ΔϑϩϯτΤϯυςετͷઓུ 7VFίϯϙʔωϯτͷ߹ DPNQPOFOUT#VUUPOWVF DPNQPOFOUT@@UFTUT@@@@TOBQTIPUT@@CVUUPOTQFDUTTOBQ
ϠϓϦʹ͓͚ΔϑϩϯτΤϯυςετͷઓུ 7VFίϯϙʔωϯτͷ߹ DPNQPOFOUT#VUUPOWVF
·ͱΊ ɾҰൠతͳςετͷख๏ͱϠϓϦͷςετઓུʹ͍ͭͯͨ͠ ɾςετϐϥϛουʹ͍ͭͯͲͷϓϩμΫτʹ௨͡Δͩͱࢥ͏ ɾࠓޙΑΓྑ͍ϓϩμΫτ࡞ΓͷͨΊʹςετઓུΛվળ͍͖͍ͯͨ͠
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠