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
94
現場の開発者でもできるユーザー中心かつ 仮説検証型の企画アプローチ
shida
0
2.8k
ユーザーが「それいいね!」と言うまで
shida
0
3.2k
ハイブリッドアプリの 受け入れテスト自動化
shida
0
200
SkypインタビューとKA法による分析
shida
4
950
Other Decks in Education
See All in Education
第1回大学院理工学系説明会|東京科学大学(Science Tokyo)
sciencetokyo
PRO
0
3.8k
The Art of Note Taking
kanaya
1
140
Open Source Summit Japan 2025のボランティアをしませんか
kujiraitakahiro
0
730
仮説の取扱説明書/User_Guide_to_a_Hypothesis
florets1
4
320
Case Studies and Course Review - Lecture 12 - Information Visualisation (4019538FNR)
signer
PRO
1
2k
SkimaTalk Teacher Guidelines
skimatalk
0
790k
Design Guidelines and Principles - Lecture 7 - Information Visualisation (4019538FNR)
signer
PRO
0
2.4k
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019538FNR)
signer
PRO
1
2.1k
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
4
16k
GitHubとAzureを使って開発者になろう
ymd65536
1
120
JPCERTから始まる草の根活動~セキュリティ文化醸成のためのアクション~
masakiokuda
0
180
生成AI
takenawa
0
6.3k
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
Rebuilding a faster, lazier Slack
samanthasiow
82
9.1k
Unsuck your backbone
ammeep
671
58k
The World Runs on Bad Software
bkeepers
PRO
69
11k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
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݄༵