Upgrade to Pro — share decks privately, control downloads, hide ads and more …

An ATDD Case Study

Jon Kruger
April 22, 2012
160

An ATDD Case Study

Presented at the Columbus ATDD Developers Group in April 2012 along with Paul Bahler (@paulbahler) and Kevin Chivington from IGS Energy.

Jon Kruger

April 22, 2012
Tweet

Transcript

  1. 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
  2. Feature: Process an order 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 • 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
  3. Reasonably Thorough Requirements "Walking on water and developing software from

    a specification are easy if both are frozen." ~ Edward V. Berard
  4. Project Management • Self-directed teams • Everyone is responsible •

    PMs lay out the roadmap • Shared risk with the business • Risk based testing
  5. 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