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

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

Jul 14, 2015

Download

Software

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Phát triển hướng hành vi - Behavior Driven Development - BDD

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

Phạm Anh Đới

[email protected]

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

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

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

Phát triển hướng kiểm thử - TDD

Make test

failed

Pass the test

Refactor

Agile Vietnam

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

Phát triển hướng tính năng –ATDD

User Story

Acceptance Test Failed

TDD

Deploy

Agile Vietnam

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

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

Customers’ language

Agile Vietnam

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

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

Agile Vietnam

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

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

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

Demo

Agile Vietnam

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

Đặc tả bằng Ví Dụ - Specification by Example

Agile Vietnam

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

Ư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

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

Question & Ideas

Agile Vietnam

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

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