an atdd case study. so what’s the problem? acceptance criteria given i am a logged in user when i...

23
An ATDD Case Study

Upload: aileen-joseph

Post on 08-Jan-2018

215 views

Category:

Documents


0 download

DESCRIPTION

Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the total cost of the order broken down by product cost, tax, and shipping charges And I should see the total cost of the order

TRANSCRIPT

Page 1: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

An ATDD Case Study

Page 2: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

So what’s the problem?

Page 3: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

Acceptance CriteriaGiven I am a logged in user

When I go to the final checkout page

Then I should see the total cost of the order broken down by product cost, tax, and shipping charges

And I should see the total cost of the order

Page 4: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

The 3 Amigos

Page 5: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the
Page 6: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

The 3 Amigos“…it’s like delivering a baby.”

Page 7: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

Feature: Process an orderGiven I am a logged in userWhen I go to the final checkout pageThen I should see the total cost of the order broken down by product cost, tax, and shipping chargesAnd I should see the total cost of the order

• Order total = total cost of products on the order + tax + shipping charges

• Tax: – Ohio = 7%– Michigan = 6.5%– Other states = 0%

• Shipping:– If total cost of products (before tax >= $25), shipping is free, otherwise

$5

Page 8: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

Definition of Done

Page 9: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

The Board

Page 10: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

What happens when testing isn’t included in your definition of done

“Before”

Page 11: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

What happens when testing IS included in your definition of done

“After”

Page 12: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

Who Writes the Tests

Page 13: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

Co-location

Page 14: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

“The Pod”

Page 15: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

Open workspace

Page 16: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

Continuous Integration

Page 17: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

Reasonably Thorough Requirements

"Walking on water and developing software from a specification are easy if both are frozen." ~ Edward V. Berard

Page 18: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

Project Management• Self-directed teams• Everyone is responsible• PMs lay out the roadmap• Shared risk with the business• Risk based testing

Page 19: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

An Incremental Process

Page 20: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

Why work incrementally towards continuous

improvement?

Page 21: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

We’re not there yet…• Continuous improvement across

teams• Better involvement with business

sponsors• More visibility of continuous

integration build• 75% of test cases automated in 2012

Page 22: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

?

Page 23: An ATDD Case Study. So what’s the problem? Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the

Thanks!• Paul Bahler– [email protected] – @PaulBahler

• Kevin Chivington– [email protected]

• Jon Kruger – [email protected]– @JonKruger