Phát triển hướng hành vi-BDD
Phạm Anh Đới
[email protected]
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 System
TechnicalSteps Definitions Support Code Automation Library
BusinessFeatures Scenarios Steps
Your Project
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
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