Hands on BDD Javascript

905 views

Published on

Introduction to behaviou

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Hands on BDD Javascript

  1. 1. BDD + TDDHands On with Javascript @aboynejames Techmeetup Aberdeen
  2. 2. Agenda● BDD & TDD Philosophy● Setup tools● Testing● Putting it altogether● Questions
  3. 3. BDD & TBB Philosophy High quality results● Faster = better quality● Lower code maintenance● Culture●● http://vimeo.com/45140589 James Newbery
  4. 4. Setup Tools (Linux)● GIThub● CasperJS (phantomJS)● BusterJS (nodeJS)● JSHint (nodeJS)● Jenkins (CI server)
  5. 5. Testing Acceptance● Unit testing● Re-factoring● Example: Build a book store ● Techmeetup BookShop ● all priced @ £12
  6. 6. Putting it all together● Jenkins● History ● Acceptance ● Unit ● Code structure
  7. 7. Summary● Worth the bother?● Win Short – Medium – Long run● Balance● Make it a new year resolution @aboynejames
  8. 8. Questions●●●● Thank you
  9. 9. Links● CasperJS http://casperjs.org/● BusterJS http://busterjs.org● JSHint http://www.jshint.com/● Jenkins CI http://jenkins-ci.org/
  10. 10. Links● CasperJS http://casperjs.org/● BusterJS http://busterjs.org● JSHint http://www.jshint.com/● Jenkins CI http://jenkins-ci.org/

×