Building the Right Regression Suite Using BDT

10
BUILDING THE RIGHT REGRESSION SUITE USING BEHAVIOR DRIVEN TESTING (BDT)

description

QA material

Transcript of Building the Right Regression Suite Using BDT

Page 1: Building the Right Regression Suite Using BDT

BUILDING THE RIGHT REGRESSION

SUITE USING BEHAVIOR DRIVEN

TESTING (BDT)

Page 2: Building the Right Regression Suite Using BDT

TEST PYRAMID It is a concept Developed by

Mike Cohn. Depicts a structure on how

manual and automation tests should be aligned in the testing cycle.

Idea: We should have many more low-level unit tests than high level end-to-end tests running through a GUI.

Page 3: Building the Right Regression Suite Using BDT

IDEAL TEST PYRAMIDTime/Test

Cost/Effort

Page 4: Building the Right Regression Suite Using BDT

TEST PYRAMID- ANTI PATTERN

Page 5: Building the Right Regression Suite Using BDT

THE OBJECTIVE

Identify the set of tests that sit on the top of test pyramid

Page 6: Building the Right Regression Suite Using BDT

TESTING CHALLENGES

Limited Automation Long Regression Huge cost of fixing defects

Page 7: Building the Right Regression Suite Using BDT

AS A RESULT

No visibility into what is tested

Outdated Brittle Little /less value Expensive Maintenance Nightmare Trust deficit on the team

Page 8: Building the Right Regression Suite Using BDT

BEHAVIOR DRIVEN DEVELOPMENT

Page 9: Building the Right Regression Suite Using BDT

BDT: BDD + THE BIG PICTURE

How this functionality is going to be used by the end user?

What is the thought process going to be when using this product.

What is the “core- business value” I am delivering to the end- user?

Page 10: Building the Right Regression Suite Using BDT

EXAMPLE

Expected Functionality:The customer should be able to withdraw money from his account via an ATM machine.