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

Who's code is it anyway?

chrismdp
October 25, 2013

Who's code is it anyway?

As developers working on software projects, our minds live in the middle of a whirl of code. We’re constantly thinking about abstractions, data models, loose coupling, architecture, and good automated tests. We’re protective over our codebases and work hard at them, trying to apply good coding design principles and minimise bugs as much as possible. In the midst of all of this, sometimes it’s very easy for us to forget that we’re building real features that real users use, and that our codebase isn’t actually for us at all…

chrismdp

October 25, 2013
Tweet

More Decks by chrismdp

Other Decks in Programming

Transcript

  1. Feature: User orders plant As a user of the website,

    I want to place an order on the website, so that I can order a plant through the website Scenario: User orders plant Given there is a plant with name: “Plant 1”, price: “£1”, size: “large”, foliage: “foliage 1” When I visit the homepage And I click on “Plant 1” And I click “Add” Friday, 25 October 13
  2. And I fill in “City” with “City 1” And I

    fill in “Postcode” with “SW1A 1AA” And I click “Continue” And I click “Continue” And I fill in “Card number” with “1234 1234 1234 1234” And I fill in “Expiry date” with “00/00” And I fill in “Name on Card” with “Name on Card 1” And I fill in “CV2” with “123” And I click “Place Order” Then I should receive an email Friday, 25 October 13
  3. “So, I’m thinking of a gardening website, where you can

    buy stuff...” Friday, 25 October 13
  4. “...but with a way for those who love gardening to

    make it a whole interactive experience, right?” Friday, 25 October 13
  5. “So gardeners can create like an ‘area’ to put pictures

    of their plants...” Friday, 25 October 13
  6. “...and other gardeners can say what they think, and suggest

    garden layout improvements...” Friday, 25 October 13
  7. “Herp derpety derp derp herp herpity derp website derp herp

    derp buy stuff” Friday, 25 October 13
  8. “Users herp derp account derpety users#show derp photos (hmm, EC2

    storage; which gem? Add day to estimate)” Friday, 25 October 13
  9. “So, I’m thinking of a gardening website, where you can

    buy stuff...” Friday, 25 October 13
  10. “...but with a way for those who love gardening to

    make it a whole interactive experience, right?” Friday, 25 October 13
  11. “So gardeners can create like an ‘area’ to put pictures

    of their plants...” Friday, 25 October 13
  12. “...and other gardeners can say what they think, and suggest

    garden layout improvements...” Friday, 25 October 13
  13. Individuals and interactions over processes and tools Working software over

    comprehensive documentation Customer collaboration over contract negotiation Responding to change over following a plan Friday, 25 October 13
  14. Feature: User orders plant As a user of the website,

    I want to place an order on the website, so that I can order a plant through the website Scenario: User orders plant Given there is a plant with name: “Plant 1”, price: “£1”, size: “large”, foliage: “foliage 1” When I visit the homepage And I click on “Plant 1” And I click “Add” Friday, 25 October 13
  15. And I fill in “City” with “City 1” And I

    fill in “Postcode” with “SW1A 1AA” And I click “Continue” And I click “Continue” And I fill in “Card number” with “1234 1234 1234 1234” And I fill in “Expiry date” with “00/00” And I fill in “Name on Card” with “Name on Card 1” And I fill in “CV2” with “123” And I click “Place Order” Then I should receive an email Friday, 25 October 13
  16. Feature: User orders plant As Gareth the aspiring gardener, I

    want to buy plants I’ve seen shared on other gardeners uploaded layouts, so that I can improve my own garden with ideas from others Friday, 25 October 13
  17. Scenario: Gareth buys plants When “Gareth” buys a recommended plant

    Then the order should be placed Friday, 25 October 13
  18. • We’re teaching more about this in December in London

    with our “Kickstart BDD” course • Register using the code “WXG” and get a free copy of the Cucumber Book thrown in :) Friday, 25 October 13