BDD + TDD
Hands On with Javascript


                     @aboynejames


   Techmeetup Aberdeen
Agenda
●   BDD & TDD Philosophy
●   Setup tools
●   Testing
●   Putting it altogether
●   Questions
BDD & TBB Philosophy
    High quality results
●   Faster = better quality
●   Lower code maintenance
●   Culture
●


●   http://vimeo.com/45140589 James Newbery
Setup Tools (Linux)
●   GIThub
●   CasperJS (phantomJS)
●   BusterJS (nodeJS)
●   JSHint (nodeJS)
●   Jenkins (CI server)
Testing
    Acceptance
●   Unit testing
●   Re-factoring
●   Example: Build a book store
    ●   Techmeetup BookShop
    ●   all priced @ £12
Putting it all together
●   Jenkins
●   History
    ●   Acceptance
    ●   Unit
    ●   Code structure
Summary
●   Worth the bother?
●   Win Short – Medium – Long run
●   Balance
●   Make it a new year resolution


                                    @aboynejames
Questions

●


●


●


●   Thank you
Links
●   CasperJS http://casperjs.org/
●   BusterJS http://busterjs.org
●   JSHint http://www.jshint.com/
●   Jenkins CI http://jenkins-ci.org/
Links
●   CasperJS http://casperjs.org/
●   BusterJS http://busterjs.org
●   JSHint http://www.jshint.com/
●   Jenkins CI http://jenkins-ci.org/

Hands on BDD Javascript

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