1 / 30

I’m Shawn

A programmer is going out for a stroll one evening. His wife asks him to swing by the store and pick up a gallon of milk, and if they had eggs, to get a dozen. He returned with twelve gallons of milk and said "They had eggs.". Favorite Movie. My dog. My Son. I’m Shawn. My Daughter. My Family.

dorcas
Download Presentation

I’m Shawn

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A programmer is going out for a stroll one evening. His wife asks him to swing by the store and pick up a gallon of milk, and if they had eggs, to get a dozen. He returned with twelve gallons of milk and said "They had eggs."

  2. Favorite Movie My dog My Son I’m Shawn My Daughter My Family I live here I a Marine Vet My Favorite Team Where I work

  3. The Problem with Agility

  4. We are trying to “productize” our approaches...again.

  5. We are trying to “productize” our approaches...again.

  6. Fundamentally agile is about approaching the work in a different way.

  7. We need thinking business analysts

  8. 12

  9. We’re not building a house...

  10. We’re cleaning the house...

  11. It’s NOT easy • It is MUCH easier to slice up a backlog horizontally • Developers want to work horizontally (efficiency argument) http://simpleprogrammer.com/2011/11/21/understanding-the-vertical-slice/

  12. http://www.deltamatrix.com/2012-04-17-04-37-50/horizontal-and-vertical-user-stories-slicing-the-cakehttp://www.deltamatrix.com/2012-04-17-04-37-50/horizontal-and-vertical-user-stories-slicing-the-cake

  13. Why vertical slices? • It is about delivering working functionality as soon as possible. • Feedback.

  14. http://www.deltamatrix.com/2012-04-17-04-37-50/horizontal-and-vertical-user-stories-slicing-the-cakehttp://www.deltamatrix.com/2012-04-17-04-37-50/horizontal-and-vertical-user-stories-slicing-the-cake

  15. Why Behavior Driven Design • Work is done from the perspective of the user • Can slice vertically but narrowly • Tests behavior of the system • Executable requirements • Need to move as fast • as business • Appropriate feedback loop • Manual regression is • EXPENSIVE

  16. Acceptance Tests vs. Unit and Integration Tests

  17. Acceptance Tests vs. Unit and Integration Tests • Unit Tests confirm that you built it right (INSIDE OUT) • Acceptance Tests confirm that you build the right thing (OUTSIDE IN)

  18. Benefits • Implementing changes more efficiently • Quick feedback • Higher product quality • Less rework • Better work alignment to priority • (not just for agile teams)

  19. Describes how software should behave in plain text • Gherkin • Usable in many different human languages • Features can be written and understood by both non/technical project members • Not a replacement for unit testing; it’s not a low level testing/spec framework • Easy to execute in Continuous Integration environment (except MS TFS)

  20. Technology Stack • Cucumber - Domain Specification • Ruby, JRuby or .NET - map cukes to application • UI testing framework - Watir, Watin, Selenium, Capybara (headless), anything that supports WebDriver • Open source • STRONG community support

  21. Who’s Using the System What are they doing? Why do they care? Features

  22. Scenarios • Features are defined by one or more scenarios • Sequence of steps thru the feature that exercises on path • Use BDD style – given-when-then • Scenario: <description> • <step 1> • … • <step 2>

  23. Given - Sets up preconditions, or context, for the scenario • When - The action, or behavior, that we’re focused on • Then - Checks post-conditions and verifies that the right thing happened in the When stage Scenarios

  24. Demonstration

  25. Q&AFor more information... • cukes.info • Gojko Adzic • cuke4ninja.com • Specification by Example • https://github.com/aslakhellesoy/cucumber/wiki • http://groups.google.com/group/cukes • http://www.cheezyworld.com • The Cucumber Book, Matt Wayne, Aslak Hellesøy: http://pragprog.com/book/hwcuc/the-cucumber-book • The Rspec Book, David Chelimsky: http://www.pragprog.com/titles/achbd/the-rspec-book • http://simpleprogrammer.com/2011/11/21/understanding-the-vertical-slice/ • http://www.deltamatrix.com/2012-04-17-04-37-50/horizontal-and-vertical-user-stories-slicing-the-cake

  26. Shawn Wallace • Work: shawn.wallace@centricconsulting.com • Personal: shawn@the-wallaces.net • Twitter: ShawnWallace • Blog: blog.shawnewallace.com • Shirt size: XXL • Shoe Size: 11.5

More Related