Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
BDD Introduction
Search
LittleLin
October 20, 2014
210
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
BDD Introduction
以 7 min. 的時間,向大家做個 BDD 技術名詞說文解字
LittleLin
October 20, 2014
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
4
4k
Are puppies a ranking factor?
jonoalderson
2
4.1k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Making Projects Easy
brettharned
120
6.8k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
530
Optimizing for Happiness
mojombo
378
71k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Transcript
用人話寫程式 – Behavior-Driven Development (BDD) Jonathan 2014/10/21 Jonathan 2014/10/21
關於我 Jonathan Lin @Yahoo! a.k.a. LittleLin / 小林 Software Development
Engineer @ Shopping Mall Part-time Technical Article Translator Part-time Technical Article Translator Blog: http://blog.littlelin.info
現象 – 工程師和客戶溝通上 常遇到的情境…… 現象 – 工程師和客戶溝通上 常遇到的情境……
客戶︰幫我做一個「超級武器覇 王」 客戶︰幫我做一個「超級武器覇 王」
需求︰ 1. 我要一個武器盒 2. 盒子中的每個武器,都可以獨擋一面 3. 可以隨身攜帶
最後工程師做出了 – 要你命 3000!!
客戶: 這不是我要的啊~~~
客戶心中真正想要的是…
大家覺得溝通上哪邊出了問題? 大家覺得溝通上哪邊出了問題?
我們面臨的問題︰需求傳遞落差 瑞士刀 要你命 3000 落差 大小 收納方式
溝通問題 雞同鴨講,互相敵對 開發的產品不符合使用者需求 浪費無謂的成本
BDD 可以解決這個問題 BDD 可以解決這個問題
BDD 可以讓你…… 用人話溝通 人話可以轉換成程式 滿足使用者需求
舉例 讓我們來寫個計算機 舉例 讓我們來寫個計算機
確認需求 寫個計算機程式 Calculator 只會加法 add() 給它兩個數字,會回傳相加後的結果 數字 1 數字 2
總和 1 1 2 2 2 4 3 3 6
用程式描述需求 只有工程師看得懂
用人話描述需求 使用者 輸入參數
用人話描述需求 使用者 執行動作 執行動作
用人話描述需求 預期系統 預期系統 結果
哪個比較好懂? 哪個比較好懂?
人話版需求還可以被執行 執行
練習 大家一起來用人話寫程 練習 大家一起來用人話寫程 式吧!
軟體需求 – 網站登入 請大家練習撰寫自己的需求 登入成功時,系統會顯示「歡迎光臨」訊息 登入失敗時,系統會顯示「無法登入」訊息 帳號 密碼 登入結果 Jonathan
123 成功 LittleLin 456 失敗
觀察大家的練習,給大家的建議 需求描述不夠精準
觀察大家的練習,給大家的建議 需求描述不夠精準 太多技術名詞
參考答案
Demo…… Demo……
總結 用人話寫程式,讓溝通落差不再發生
Thank you :-) Thank you :-)