phát triển hướng hành vi - behavior driven development - bdd

12
Phát triển hướng hành vi -BDD Phạm Anh Đới [email protected]

Upload: doi-pham-anh

Post on 14-Jul-2015

168 views

Category:

Software


9 download

TRANSCRIPT

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

Phạm Anh Đới

[email protected]

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 System

TechnicalSteps Definitions Support Code Automation Library

BusinessFeatures Scenarios Steps

Your Project

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