SlideShare a Scribd company logo
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/

More Related Content

PDF
10 tips for continuous integration
PDF
Web dev presentation
PPT
Progressive Enhancement
PDF
Git hooks For PHP Developers
PDF
Nginx, PHP and Node.js
PPT
Cucumber And Bdd
PDF
BDD by example
PPTX
Introduction to BDD - Code PaLOUsa
10 tips for continuous integration
Web dev presentation
Progressive Enhancement
Git hooks For PHP Developers
Nginx, PHP and Node.js
Cucumber And Bdd
BDD by example
Introduction to BDD - Code PaLOUsa

Viewers also liked (13)

PDF
Alexander Voronov Test driven development in real world
PDF
Introduction to TDD and BDD
PPTX
Cucumber BDD
PDF
Bdd - how to solve communication problems
KEY
Getting Comfortable with BDD
PPTX
Bdd with Cucumber and Mocha
PPTX
Behavior Driven Development
ODP
Introduction to BDD
PDF
Unit testing best practices
PPT
BDD with JBehave and Selenium
PDF
Introduction to BDD with Cucumber for Java
PDF
BDD with the Cucumber
PDF
BDD - Writing better scenario
Alexander Voronov Test driven development in real world
Introduction to TDD and BDD
Cucumber BDD
Bdd - how to solve communication problems
Getting Comfortable with BDD
Bdd with Cucumber and Mocha
Behavior Driven Development
Introduction to BDD
Unit testing best practices
BDD with JBehave and Selenium
Introduction to BDD with Cucumber for Java
BDD with the Cucumber
BDD - Writing better scenario
Ad

Similar to Hands on BDD Javascript (20)

PDF
Virtualizing MongoDB: Cloud, EC2, OpenStack, VMs...or Dedicated?
PDF
When JHipster meets Microsoft-JHipster and Microsoft products
PDF
Writing a Ruby Gem for beginners
PDF
Tools and libraries for common problems (Early Draft)
PDF
Effective version control
PDF
Effective version control
PPTX
The future of testing magento 2 james cowie from shero commerce - 10 24-20 ...
PDF
Introduction to JHipster
ODP
Monitoring your VM's at Scale
PDF
Dscrum
PPTX
Testing in GO
ODP
Continuous delivery of Windows micro services in the cloud
PDF
Drupal BigPipe: What have I learned
PDF
Test driven development_continuous_integration
PDF
Python Static Site Generator in Pelican
PPTX
Acing the amazing Elastic Certified Engineer Exam (APAC Version)
PDF
Rubyconf presentation
PDF
Test Driven Development with PHP
PDF
Tests that talk
PDF
OSDC 2012 | Devops and Open Source by Kris Buytaert
Virtualizing MongoDB: Cloud, EC2, OpenStack, VMs...or Dedicated?
When JHipster meets Microsoft-JHipster and Microsoft products
Writing a Ruby Gem for beginners
Tools and libraries for common problems (Early Draft)
Effective version control
Effective version control
The future of testing magento 2 james cowie from shero commerce - 10 24-20 ...
Introduction to JHipster
Monitoring your VM's at Scale
Dscrum
Testing in GO
Continuous delivery of Windows micro services in the cloud
Drupal BigPipe: What have I learned
Test driven development_continuous_integration
Python Static Site Generator in Pelican
Acing the amazing Elastic Certified Engineer Exam (APAC Version)
Rubyconf presentation
Test Driven Development with PHP
Tests that talk
OSDC 2012 | Devops and Open Source by Kris Buytaert
Ad

More from James Littlejohn (20)

PDF
LKNhealth.org
ODP
Introduction to Idea
ODP
IofT Edinburgh Meetup + blockchain science health wearable
PPTX
Vision for a health blockchain
ODP
Dsensor.org peer to peer science
ODP
Peer to Peer Science - Dsensor.org
ODP
ProjectSAFE London
ODP
MAIDSAFE Installer DEMO Project SAFE London
ODP
Dsensor.org Programmable Science
ODP
Dapps for Web Developers Aberdeen Techmeetup
ODP
Currency money & post money
ODP
QS Techmeetup Aberdeen
ODP
Big dataweb, science, mining
ODP
Open Source Free(DOM)
ODP
MightyMeetup Webapps talk
ODP
Wanttobe.org.uk
PPT
LifestyleLinking Open Source Project
PPTX
comparetheuniversities
PPT
Volunteer report card - charity hack
PPT
beginners guide to semantic web barcamGlasgow2
LKNhealth.org
Introduction to Idea
IofT Edinburgh Meetup + blockchain science health wearable
Vision for a health blockchain
Dsensor.org peer to peer science
Peer to Peer Science - Dsensor.org
ProjectSAFE London
MAIDSAFE Installer DEMO Project SAFE London
Dsensor.org Programmable Science
Dapps for Web Developers Aberdeen Techmeetup
Currency money & post money
QS Techmeetup Aberdeen
Big dataweb, science, mining
Open Source Free(DOM)
MightyMeetup Webapps talk
Wanttobe.org.uk
LifestyleLinking Open Source Project
comparetheuniversities
Volunteer report card - charity hack
beginners guide to semantic web barcamGlasgow2

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Spectroscopy.pptx food analysis technology
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Cloud computing and distributed systems.
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Understanding_Digital_Forensics_Presentation.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
20250228 LYD VKU AI Blended-Learning.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectroscopy.pptx food analysis technology
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Big Data Technologies - Introduction.pptx
Machine learning based COVID-19 study performance prediction
Mobile App Security Testing_ A Comprehensive Guide.pdf
MYSQL Presentation for SQL database connectivity
Dropbox Q2 2025 Financial Results & Investor Presentation
Cloud computing and distributed systems.
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton

Hands on BDD Javascript

  • 1. BDD + TDD Hands On with Javascript @aboynejames Techmeetup Aberdeen
  • 2. Agenda ● BDD & TDD Philosophy ● Setup tools ● Testing ● Putting it altogether ● Questions
  • 3. BDD & TBB Philosophy 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 all together ● Jenkins ● History ● Acceptance ● Unit ● Code structure
  • 7. Summary ● Worth the bother? ● Win Short – Medium – Long run ● Balance ● Make it a new year resolution @aboynejames
  • 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/