SlideShare a Scribd company logo
1 of 12
Download to read offline
Phát triển hướng hành vi 
-BDD 
Phạm Anh Đới 
doi@agilevietnam.org
Mục tiêu 
• Sự hình thành BDD 
• Ưu điểm của BDD 
• Demo BDD với Cucumber 
• Thảo luận 
Agile Vietnam
Phát triển hướng kiểm thử 
- TDD 
Make 
test 
failed 
Pass the 
test 
Refactor 
Agile Vietnam
Phát triển hướng tính năng – 
ATDD 
User Story 
Acceptance 
Test Failed 
TDD 
Deploy 
Agile Vietnam
Phát triển hướng hành vi 
- BDD 
Customers’ language 
Agile Vietnam
Phát triển hướng hành vi 
- BDD 
Agile Vietnam
Phát triển hướng hành vi 
- BDD 
Your Project 
Business 
Features Scenarios Steps 
Technical 
Steps Definitions Support Code Automation Library 
Your System 
Agile Vietnam
Demo 
Agile Vietnam
Đặc tả bằng Ví Dụ 
- Specification by Example 
Agile Vietnam
Ưu điểm 
• Giúp xác định đúng yêu cầu 
• Cung cấp “đủ” tài liệu 
• Cải thiện chất lượng phần mềm 
• Tạo tài liệu sống của hệ thống 
Agile Vietnam
Question & Ideas 
Agile Vietnam
Tài liệu tham chiếu 
• The Cucumber Book: Behaviour-Driven 
Development for Testers and Developers by: Matt 
Wynne and Aslak Hellesøyer book 
• Specification By Example: How successful teams 
deliver the right software by Gojko Adzic 
Agile Vietnam

More Related Content

Viewers also liked

«BDD, Gherkin, Cucumber and why we need it for successful product development»
«BDD, Gherkin, Cucumber and why we need it for successful product development»«BDD, Gherkin, Cucumber and why we need it for successful product development»
«BDD, Gherkin, Cucumber and why we need it for successful product development»Provectus
 
iop.vn - hanh vi nguoi tieu dung google 2014
iop.vn - hanh vi nguoi tieu dung google 2014iop.vn - hanh vi nguoi tieu dung google 2014
iop.vn - hanh vi nguoi tieu dung google 2014I OPTIMIZE
 
[Nielsen] Technology and consumer behavior (VIE 2014) (Công nghệ và hành vi c...
[Nielsen] Technology and consumer behavior (VIE 2014) (Công nghệ và hành vi c...[Nielsen] Technology and consumer behavior (VIE 2014) (Công nghệ và hành vi c...
[Nielsen] Technology and consumer behavior (VIE 2014) (Công nghệ và hành vi c...Viet Le
 
Behavior Driven Development (BDD)
Behavior Driven Development (BDD)Behavior Driven Development (BDD)
Behavior Driven Development (BDD)Ajay Danait
 
Quy trinh-marketing-insights, quy trình marketing insights
Quy trinh-marketing-insights, quy trình marketing insights Quy trinh-marketing-insights, quy trình marketing insights
Quy trinh-marketing-insights, quy trình marketing insights Việt Long Plaza
 
BDD presentation
BDD presentationBDD presentation
BDD presentationtemebele
 
Young Marketers 2 - Chung Ket - Indie
Young Marketers 2 - Chung Ket - IndieYoung Marketers 2 - Chung Ket - Indie
Young Marketers 2 - Chung Ket - IndieYoungMarketers2
 
Young Marketers 2 - Chung Ket - STORM
Young Marketers 2 - Chung Ket - STORMYoung Marketers 2 - Chung Ket - STORM
Young Marketers 2 - Chung Ket - STORMYoungMarketers2
 
Young Marketers 2 - Chung ket - Tinh Nguoi Duyen Mar
Young Marketers 2 - Chung ket - Tinh Nguoi Duyen MarYoung Marketers 2 - Chung ket - Tinh Nguoi Duyen Mar
Young Marketers 2 - Chung ket - Tinh Nguoi Duyen MarYoungMarketers2
 
[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...
[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...
[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...Ho Chi Minh City Software Testing Club
 
Behavior Driven Development
Behavior Driven DevelopmentBehavior Driven Development
Behavior Driven DevelopmentLiz Keogh
 
YOUNG MARKETERS 3 - FINAL ROUND - INBUZZ
YOUNG MARKETERS 3 - FINAL ROUND - INBUZZYOUNG MARKETERS 3 - FINAL ROUND - INBUZZ
YOUNG MARKETERS 3 - FINAL ROUND - INBUZZYoungMarketers2
 
YOUNG MARKETERS 3 - FINAL ROUND - CÁT
YOUNG MARKETERS 3 - FINAL ROUND - CÁTYOUNG MARKETERS 3 - FINAL ROUND - CÁT
YOUNG MARKETERS 3 - FINAL ROUND - CÁTYoungMarketers2
 
HÀNH VI MUA SẮM ONLINE CỦA NGƯỜI TIÊU DÙNG ĐỘ TUỔI 16-35
HÀNH VI MUA SẮM ONLINE CỦA NGƯỜI TIÊU DÙNG ĐỘ TUỔI 16-35 HÀNH VI MUA SẮM ONLINE CỦA NGƯỜI TIÊU DÙNG ĐỘ TUỔI 16-35
HÀNH VI MUA SẮM ONLINE CỦA NGƯỜI TIÊU DÙNG ĐỘ TUỔI 16-35 we20
 
Hành vi và lối sống của Người tiêu dùng trẻ độ tuổi 20-29
Hành vi và lối sống của Người tiêu dùng trẻ độ tuổi 20-29Hành vi và lối sống của Người tiêu dùng trẻ độ tuổi 20-29
Hành vi và lối sống của Người tiêu dùng trẻ độ tuổi 20-29ISC Marketing Corporation
 

Viewers also liked (20)

«BDD, Gherkin, Cucumber and why we need it for successful product development»
«BDD, Gherkin, Cucumber and why we need it for successful product development»«BDD, Gherkin, Cucumber and why we need it for successful product development»
«BDD, Gherkin, Cucumber and why we need it for successful product development»
 
Quy Trinh Marketing Insights
Quy Trinh Marketing InsightsQuy Trinh Marketing Insights
Quy Trinh Marketing Insights
 
Cucumber BDD
Cucumber BDDCucumber BDD
Cucumber BDD
 
iop.vn - hanh vi nguoi tieu dung google 2014
iop.vn - hanh vi nguoi tieu dung google 2014iop.vn - hanh vi nguoi tieu dung google 2014
iop.vn - hanh vi nguoi tieu dung google 2014
 
[Nielsen] Technology and consumer behavior (VIE 2014) (Công nghệ và hành vi c...
[Nielsen] Technology and consumer behavior (VIE 2014) (Công nghệ và hành vi c...[Nielsen] Technology and consumer behavior (VIE 2014) (Công nghệ và hành vi c...
[Nielsen] Technology and consumer behavior (VIE 2014) (Công nghệ và hành vi c...
 
Behavior Driven Development (BDD)
Behavior Driven Development (BDD)Behavior Driven Development (BDD)
Behavior Driven Development (BDD)
 
Quy trinh-marketing-insights, quy trình marketing insights
Quy trinh-marketing-insights, quy trình marketing insights Quy trinh-marketing-insights, quy trình marketing insights
Quy trinh-marketing-insights, quy trình marketing insights
 
BDD presentation
BDD presentationBDD presentation
BDD presentation
 
Young Marketers 2 - Chung Ket - Indie
Young Marketers 2 - Chung Ket - IndieYoung Marketers 2 - Chung Ket - Indie
Young Marketers 2 - Chung Ket - Indie
 
Young Marketers 2 - Chung Ket - STORM
Young Marketers 2 - Chung Ket - STORMYoung Marketers 2 - Chung Ket - STORM
Young Marketers 2 - Chung Ket - STORM
 
Customer insight
Customer insightCustomer insight
Customer insight
 
Young Marketers 2 - Chung ket - Tinh Nguoi Duyen Mar
Young Marketers 2 - Chung ket - Tinh Nguoi Duyen MarYoung Marketers 2 - Chung ket - Tinh Nguoi Duyen Mar
Young Marketers 2 - Chung ket - Tinh Nguoi Duyen Mar
 
[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...
[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...
[Thong Nguyen & Trong Bui] Behavior Driven Development (BDD) and Automation T...
 
Behavior Driven Development
Behavior Driven DevelopmentBehavior Driven Development
Behavior Driven Development
 
YOUNG MARKETERS 3 - FINAL ROUND - INBUZZ
YOUNG MARKETERS 3 - FINAL ROUND - INBUZZYOUNG MARKETERS 3 - FINAL ROUND - INBUZZ
YOUNG MARKETERS 3 - FINAL ROUND - INBUZZ
 
YOUNG MARKETERS 3 - FINAL ROUND - CÁT
YOUNG MARKETERS 3 - FINAL ROUND - CÁTYOUNG MARKETERS 3 - FINAL ROUND - CÁT
YOUNG MARKETERS 3 - FINAL ROUND - CÁT
 
Cucumber ppt
Cucumber pptCucumber ppt
Cucumber ppt
 
HÀNH VI MUA SẮM ONLINE CỦA NGƯỜI TIÊU DÙNG ĐỘ TUỔI 16-35
HÀNH VI MUA SẮM ONLINE CỦA NGƯỜI TIÊU DÙNG ĐỘ TUỔI 16-35 HÀNH VI MUA SẮM ONLINE CỦA NGƯỜI TIÊU DÙNG ĐỘ TUỔI 16-35
HÀNH VI MUA SẮM ONLINE CỦA NGƯỜI TIÊU DÙNG ĐỘ TUỔI 16-35
 
Hành vi và lối sống của Người tiêu dùng trẻ độ tuổi 20-29
Hành vi và lối sống của Người tiêu dùng trẻ độ tuổi 20-29Hành vi và lối sống của Người tiêu dùng trẻ độ tuổi 20-29
Hành vi và lối sống của Người tiêu dùng trẻ độ tuổi 20-29
 
BDD in Action - building software that matters
BDD in Action - building software that mattersBDD in Action - building software that matters
BDD in Action - building software that matters
 

More from Đới Học viện Agile

Quản lí nhóm làm việc ở nhà - phiên bản 1
Quản lí nhóm làm việc ở nhà - phiên bản 1Quản lí nhóm làm việc ở nhà - phiên bản 1
Quản lí nhóm làm việc ở nhà - phiên bản 1Đới Học viện Agile
 
Cách xây dựng nhóm phần mềm hiệu năng cao
Cách xây dựng nhóm phần mềm hiệu năng caoCách xây dựng nhóm phần mềm hiệu năng cao
Cách xây dựng nhóm phần mềm hiệu năng caoĐới Học viện Agile
 
How to release every week? Case study of Continuous Integration from VNDirect
How to release every week? Case study of Continuous Integration from VNDirectHow to release every week? Case study of Continuous Integration from VNDirect
How to release every week? Case study of Continuous Integration from VNDirectĐới Học viện Agile
 
[XP Day Vietnam 2015] What makes software flexible
[XP Day Vietnam 2015] What makes software flexible[XP Day Vietnam 2015] What makes software flexible
[XP Day Vietnam 2015] What makes software flexibleĐới Học viện Agile
 
Agile adoption for Higher Education & Training Center in companies
Agile adoption for Higher Education & Training Center in companiesAgile adoption for Higher Education & Training Center in companies
Agile adoption for Higher Education & Training Center in companiesĐới Học viện Agile
 
Động viên từng sinh viên với học tập đảo ngược
Động viên từng sinh viên với học tập đảo ngượcĐộng viên từng sinh viên với học tập đảo ngược
Động viên từng sinh viên với học tập đảo ngượcĐới Học viện Agile
 
A path to transform into agile in vietnamese culture
A path to transform into agile in vietnamese cultureA path to transform into agile in vietnamese culture
A path to transform into agile in vietnamese cultureĐới Học viện Agile
 

More from Đới Học viện Agile (20)

Quản lí nhóm làm việc ở nhà - phiên bản 1
Quản lí nhóm làm việc ở nhà - phiên bản 1Quản lí nhóm làm việc ở nhà - phiên bản 1
Quản lí nhóm làm việc ở nhà - phiên bản 1
 
Agile trong dự án fixed price case study
Agile trong dự án fixed price case studyAgile trong dự án fixed price case study
Agile trong dự án fixed price case study
 
Agile trong dự án fixed price
Agile trong dự án fixed priceAgile trong dự án fixed price
Agile trong dự án fixed price
 
How to start your agile journey
How to start your agile journeyHow to start your agile journey
How to start your agile journey
 
How to pay people?
How to pay people?How to pay people?
How to pay people?
 
Ngụy biện - fallacy
Ngụy biện - fallacyNgụy biện - fallacy
Ngụy biện - fallacy
 
Cách xây dựng nhóm phần mềm hiệu năng cao
Cách xây dựng nhóm phần mềm hiệu năng caoCách xây dựng nhóm phần mềm hiệu năng cao
Cách xây dựng nhóm phần mềm hiệu năng cao
 
Coach using facilitation
Coach using facilitationCoach using facilitation
Coach using facilitation
 
Being agile with your outsourcing partner
Being agile with your outsourcing partnerBeing agile with your outsourcing partner
Being agile with your outsourcing partner
 
How to build your first agile team
How to build your first agile teamHow to build your first agile team
How to build your first agile team
 
How to release every week? Case study of Continuous Integration from VNDirect
How to release every week? Case study of Continuous Integration from VNDirectHow to release every week? Case study of Continuous Integration from VNDirect
How to release every week? Case study of Continuous Integration from VNDirect
 
[XP Day Vietnam 2015] What makes software flexible
[XP Day Vietnam 2015] What makes software flexible[XP Day Vietnam 2015] What makes software flexible
[XP Day Vietnam 2015] What makes software flexible
 
[XP Day Vietnam 2015] XP is not windows XP
[XP Day Vietnam 2015] XP is not windows XP[XP Day Vietnam 2015] XP is not windows XP
[XP Day Vietnam 2015] XP is not windows XP
 
Agile adoption for Higher Education & Training Center in companies
Agile adoption for Higher Education & Training Center in companiesAgile adoption for Higher Education & Training Center in companies
Agile adoption for Higher Education & Training Center in companies
 
Động viên từng sinh viên với học tập đảo ngược
Động viên từng sinh viên với học tập đảo ngượcĐộng viên từng sinh viên với học tập đảo ngược
Động viên từng sinh viên với học tập đảo ngược
 
A path to transform into agile in vietnamese culture
A path to transform into agile in vietnamese cultureA path to transform into agile in vietnamese culture
A path to transform into agile in vietnamese culture
 
Học tập đảo ngược
Học tập đảo ngượcHọc tập đảo ngược
Học tập đảo ngược
 
Code retreat agile tour 2013
Code retreat agile tour 2013Code retreat agile tour 2013
Code retreat agile tour 2013
 
Bad smells in code
Bad smells in codeBad smells in code
Bad smells in code
 
Introduction to summer coderetreat 2013
Introduction to summer coderetreat 2013Introduction to summer coderetreat 2013
Introduction to summer coderetreat 2013
 

Phát triển hướng hành vi - Behavior Driven Development - BDD

  • 1. Phát triển hướng hành vi -BDD Phạm Anh Đới doi@agilevietnam.org
  • 2. Mục tiêu • Sự hình thành BDD • Ưu điểm của BDD • Demo BDD với Cucumber • Thảo luận Agile Vietnam
  • 3. Phát triển hướng kiểm thử - TDD Make test failed Pass the test Refactor Agile Vietnam
  • 4. Phát triển hướng tính năng – ATDD User Story Acceptance Test Failed TDD Deploy Agile Vietnam
  • 5. Phát triển hướng hành vi - BDD Customers’ language Agile Vietnam
  • 6. Phát triển hướng hành vi - BDD Agile Vietnam
  • 7. Phát triển hướng hành vi - BDD Your Project Business Features Scenarios Steps Technical Steps Definitions Support Code Automation Library Your System Agile Vietnam
  • 9. Đặc tả bằng Ví Dụ - Specification by Example Agile Vietnam
  • 10. Ưu điểm • Giúp xác định đúng yêu cầu • Cung cấp “đủ” tài liệu • Cải thiện chất lượng phần mềm • Tạo tài liệu sống của hệ thống Agile Vietnam
  • 11. Question & Ideas Agile Vietnam
  • 12. Tài liệu tham chiếu • The Cucumber Book: Behaviour-Driven Development for Testers and Developers by: Matt Wynne and Aslak Hellesøyer book • Specification By Example: How successful teams deliver the right software by Gojko Adzic Agile Vietnam