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
CucumberによるHTML5アプリの 受け入れテスト自動化
Search
shida
April 28, 2013
Education
1
440
CucumberによるHTML5アプリの 受け入れテスト自動化
JS-App「破綻しないWebアプリ開発のためのツール勉強会」でのLT資料です。
shida
April 28, 2013
Tweet
Share
More Decks by shida
See All by shida
受託開発で ビジネスづくりを楽しむ
shida
0
2.4k
受託アジャイルでの契約書作り請求や、外注パートナーへの支払いスキームまで
shida
0
890
スクレイピングの安定運用のために苦労したところ、工夫したところ
shida
4
2.1k
DevLOVEリンスタカフェ vol.7
shida
1
150
DevLOVE リンスタカフェ vol2 成長を促すKPIが見つからん
shida
0
98
現場の開発者でもできるユーザー中心かつ 仮説検証型の企画アプローチ
shida
0
2.9k
ユーザーが「それいいね!」と言うまで
shida
0
3.2k
ハイブリッドアプリの 受け入れテスト自動化
shida
0
200
SkypインタビューとKA法による分析
shida
4
960
Other Decks in Education
See All in Education
Pydantic(AI)とJSONの詳細解説
mickey_kubo
0
160
GitHubとAzureを使って開発者になろう
ymd65536
1
150
チーム開発における責任と感謝の話
ssk1991
0
120
登壇未経験者のための登壇戦略~LTは設計が9割!!!~
masakiokuda
3
620
Data Management and Analytics Specialisation
signer
PRO
0
1.4k
2025年度春学期 統計学 第12回 分布の平均を推測する ー 区間推定 (2025. 6. 26)
akiraasano
PRO
0
150
Case Studies and Course Review - Lecture 12 - Information Visualisation (4019538FNR)
signer
PRO
1
2k
[FUN Open Campus 2025] 何でもセンシングしていいですか?
pman0214
0
220
2025年度春学期 統計学 第9回 確からしさを記述する ー 確率 (2025. 6. 5)
akiraasano
PRO
0
140
Common STIs in London: Symptoms, Risks & Prevention
medicaldental
0
140
人になにかを教えるときに考えていること(2025-05版 / VRC-LT #18)
sksat
4
1.1k
Constructing a Custom TeX Ecosystem for Educational Institutions—Beyond Academic Typesetting
doratex
1
16k
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Typedesign – Prime Four
hannesfritz
42
2.7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
1k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Code Review Best Practice
trishagee
69
19k
The World Runs on Bad Software
bkeepers
PRO
70
11k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
Measuring & Analyzing Core Web Vitals
bluesmoon
8
550
Transcript
CucumberʹΑΔHTML5ΞϓϦͷ ड͚ೖΕςετࣗಈԽ JS-Appʮഁ͠ͳ͍WebΞϓϦ։ൃͷͨΊͷ πʔϧษڧձʯ 2013.04.28 ࢤా ༟थ 134݄29݄༵
ࣗݾհ • ࢤా ༟थ (Twitter: @shida, Facebook: shida1977) • 20128݄ಠཱ
(ג)ϏʔɾΞδϟΠϧ ද • ࣗΦϑΟεɺΞϧόΠτ1໊ɺௗऔͷύʔτφʔ1໊ɺόϦͷύʔτ φʔ1໊ɻ • ελʔτΞοϓΛޭ͍ͤͨ͞ɻͦͷ͓ख͍Λओʹͬͯ·͢ɻ • ΞδϟΠϧɺϦʔϯɾελʔτΞοϓΛͬͯɻ • ২ా͞Μͱా͞ΜͱTDDͷษڧձΛִिͰ͓ͬͯͯ༠͍Λɻ • ͦͷੲJavaScriptͰ͍͔ͭ͘دߘ͍͍ͤͯͨͩͯ͞·ͨ͠ • 2007 @IT࿈ࡌશ8ճ ʮύλʔϯͱϥΠϒϥϦͰ࡞ΔAjax͓͍͍͠ Ϩγϐʯ • 2008 ThinkIT࿈ࡌશ4ճʮWAI-ARIAʹΑΔΞΫηγϒϧRIAʯ • 2009 @IT࿈ࡌશ2ճʮجૅ͔Β͔ΔɺmixiΞϓϦ࡞ೖʯ 134݄29݄༵
Cucumber͕ࢲͨͪʹͨΒ͢ͷ • ճؼςετΛࣗಈԽͯ͘͠ΕΔ • σάϨΛڪΕͳͯ͘͢Ή • ίʔυʹखΛೖΕΔͷ͕ා͘ͳ͘ͳΔ • ϦϑΝΫλϦϯάͨ͠Γͯ͠ɺίʔυΛΫϦʔϯʹอͯΔ •
ੵۃతʹࡉ͔͍όάमਖ਼༷มߋʹԠ͑ΒΕΔ • ϏδωεՁΛٻͰ͖Δ • ίʔυΛݟͳ༷͕͔ͯ͘Δ • υΩϡϝϯτΛॻ͘खؒΛܰݮͰ͖Δ • ίʔσΟϯάͷྲྀΕʹύλʔϯ͕Ͱ͖ͯϦζϜ͕Ͱ͖Δ(BDD) 134݄29݄༵
ίʔσΟϯά2ഒ͘Β͍ʹͳͬͪΌ͏? • ͔ͨ͠ʹ׳Εͳ͍͏ͪͦ͏͔ • Ͱɺ࿅श͍͚ͯ͠ઈରʹૣ͘ͳΔ • աڈʹॻ͍ͨςετ༻ϝιουͷ࠶ར༻ͰָʹͳΔ • ͍ΖΜͳΛؚΊͯൺֱ͠ͳ͍ͱ •
υΩϡϝϯτॻ͘ • ςετ(ճؼςετؚΉ) • த్ࢀՃҾ͖ܧ͗ͷڭҭ • ड͚ೖΕςετ 134݄29݄༵
RubyͰ͠ΐ? RailsͰ͠ΐ? • ͍ΖΜͳݴޠͰಈ͘Έ͍ͨͰ͢ɻ(abcॱʣ • Erlang • Java • Perl
• PHP • Python • Ruby • .NET 134݄29݄༵
αϯϓϧ • https://github.com/shida/jsapp1_what_is_cucumber.git • Gherkin • → εςοϓఆٛ(CapybaraͰ) • →
Selenium • → Poltergeist • → ͬͱ͍Ζ͍Ζ 134݄29݄༵
• ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ 134݄29݄༵