25
Using ATDD to Build Customers that Care

Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Embed Size (px)

DESCRIPTION

In this engaging experience report, we will present 3 different views – Developer, Tester, Business Analyst – of implementing Acceptance Test Driven Development in a complex, data-driven domain. Hear how we used ATDD for building a ubiquitous language across the entire team, promoting faster feedback, and cultivating a culture where product owners were deeply invested in the quality of both every deliverable and the system as a whole.

Citation preview

Page 1: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Using ATDD to Build

Customers that Care

Page 2: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

JEFFREY DAVIDSON consulting business analyst

ThoughtWorks.

[email protected]

@JeffreyGoodReq

goodrequirements.com

www.thoughtworks.com

®

LAV PATHAK software engineer ThoughtWorks. [email protected] @lav_pathak www.thoughtworks.com

®

SAM HOTOP senior test engineer

ThoughtWorks.

[email protected] samueljameshotop.blogspot.com

www.thoughtworks.com

®

Page 3: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Gas Pipelines

Page 4: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care
Page 5: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care
Page 6: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Unleash Your Inner Engineer

Page 7: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care
Page 8: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

How does this thing work again?

Page 9: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Somebody should write this down

Page 10: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Humble beginnings…

Page 11: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Whiteboard >>> Scenarios

Page 12: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Accessible, Meaningful Tests

Page 13: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

In-process Acceptance Tests

Page 14: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care
Page 15: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

UI Tests

Acceptance Tests

Unit Tests

Page 16: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

UI Tests

Acceptance Tests

Unit Tests

Page 17: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Unit (1600)

Acceptance (1250)

UI (100)

~2950 Total Tests

Page 18: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Build Times – Full Suite

16 mins: Pairing stations

35 mins: Unit & Acceptance / CI box

15 mins: UI Tests on CI box

Page 19: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

When a Bug is found Bug

confirmed

QA pairing

with BA/PO!

Test(s) written & ignored

Dev pair refactors

Acceptance Test(s) Pass

Bug Killed

Page 20: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Analysts: Don’t be afraid

Page 21: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

More whiteboard conversations

Page 22: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Remember Your Unit Tests!

Page 23: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Empower Your Product Owners

Page 24: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

? Your Questions

Page 25: Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam hotop on using atdd to build customers that care

Using ATDD to Build Customers that Care

Jeffrey Davidson

Lav Pathak

Sam Hotop

Skills Matter Agile Testing & BDD eXchange

NYC 2013