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

Behaviour Driven Development - Mobile Trends

Pawel Dudek
February 19, 2016

Behaviour Driven Development - Mobile Trends

Slides from presentation given at [Mobile Trends](http://www.2016.mobiletrends.pl)

Pawel Dudek

February 19, 2016

More Decks by Pawel Dudek

Other Decks in Programming


  1. @eldudi Kolawa, Adam; Huizinga, Dorota (2007). Automated Defect Prevention: Best

    Practices in Software Management. “Unit testing is a method by which individual units of source code, sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures are tested to determine if they are fit for use.” 5
  2. @eldudi An app is a set of behaviours created by

    programmer and expected by user. 7
  3. @eldudi TDD is a great way to determine how complex

    your code has become. You just have to listen. 18
  4. @eldudi This always points to an overcomplicated design And your

    tests are here to point that out. Very clearly 23
  5. @eldudi By writing the test first, you're forced into thinking

    what responsibilities given object should have. 24
  6. @eldudi BDD • Think examples/behaviors, not tests • Provide examples

    how your object should behave • Don’t test implementation, work outside-in • Use ubiquitous language to make examples easily understandable 42