An ATDD Case Study

Preview:

DESCRIPTION

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 total cost of the order broken down by product cost, tax, and shipping charges And I should see the total cost of the order. - PowerPoint PPT Presentation

Citation preview

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 total cost of the order broken down by product cost, tax, and shipping charges

And I should see the total cost of the order

The 3 Amigos

The 3 Amigos

“…it’s like delivering a baby.”

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

Definition of Done

The Board

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

“Before”

What happens when testing IS included in your definition of done

“After”

Who Writes the Tests

Co-location

“The Pod”

Open workspace

Continuous Integration

Reasonably Thorough Requirements

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

Project Management

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

An Incremental Process

Why work incrementally towards continuous

improvement?

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

?

Thanks!

• Paul Bahler– pbahler@igsenergy.com – @PaulBahler

• Kevin Chivington– kchivington@igsenergy.com

• Jon Kruger – jon@jonkruger.com– @JonKruger