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

Why BDD is misunderstood?

Why BDD is misunderstood?

Many people complain about BDD. By taking a closer look in those complaints we realize that they start to reject BDD not because of its ideas, but because they try to solve all of their problems by installing a tool - and not really applying all of the concepts behind it. So, let's put everyone on the same page when the subject is BDD.

Nicholas Pufal

October 19, 2013
Tweet

More Decks by Nicholas Pufal

Other Decks in Programming

Transcript

  1. * * Agenda Introduction (5 min) Common complaints (10 min)

    Real life example: NY investment bank (10 min) What BDD is really about? (10 min) Q&A (10 min)
  2. * * "The definition of insanity is doing the same

    thing over and over again and expecting different results." ~ BROWN, RITA MAE
  3. * *

  4. * * Client doesn’t want to write the specifications He

    shouldn’t be allowed to write the specifications by himself
  5. * * Client doesn’t want to write the specifications Client

    doesn't need to interact with the tool itself
  6. * * You can achieve the same without a business

    readable DSL You can just use Capybara + RSpec
  7. * * You can achieve the same without a business

    readable DSL Would you compare a car to a duck?
  8. * * Real life example: NY investment bank •Specifications written

    using SpecFlow (Cucumber equivalent for .NET) •Complex business domain •BAs (client's side) with strong knowledge about the business needs
  9. * *

  10. * *

  11. * *

  12. * *

  13. * * Real life example: NY investment bank •No QAs

    in the team •3 amigos = 2 Devs + 1 BA •2 Devs, but one with a QA mindset
  14. * * Examples Tests Requirements can become elaborate verify Examples,

    requirements and tests are essentially tied together in a loop.
  15. * * "I decided it must be possible to present

    TDD in a way that gets straight to the good stuff and avoids all the pitfalls." ~ NORTH, DAN
  16. * *

  17. * * Thanks! * Nicholas Pufal e-mail: [email protected] blog: http://coffeecupblog.com

    twitter: @nicholaspufal Juraci Vieira e-mail: [email protected] blog: http://testenext.blogspot.com.br