SlideShare una empresa de Scribd logo
1 de 10
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/

Más contenido relacionado

Destacado

Unit testing best practices
Unit testing best practicesUnit testing best practices
Unit testing best practices
nickokiss
 

Destacado (13)

Alexander Voronov Test driven development in real world
Alexander Voronov Test driven development in real worldAlexander Voronov Test driven development in real world
Alexander Voronov Test driven development in real world
 
Introduction to TDD and BDD
Introduction to TDD and BDDIntroduction to TDD and BDD
Introduction to TDD and BDD
 
Cucumber BDD
Cucumber BDDCucumber BDD
Cucumber BDD
 
Bdd - how to solve communication problems
Bdd - how to solve communication problemsBdd - how to solve communication problems
Bdd - how to solve communication problems
 
Getting Comfortable with BDD
Getting Comfortable with BDDGetting Comfortable with BDD
Getting Comfortable with BDD
 
Bdd with Cucumber and Mocha
Bdd with Cucumber and MochaBdd with Cucumber and Mocha
Bdd with Cucumber and Mocha
 
Behavior Driven Development
Behavior Driven DevelopmentBehavior Driven Development
Behavior Driven Development
 
Introduction to BDD
Introduction to BDDIntroduction to BDD
Introduction to BDD
 
Unit testing best practices
Unit testing best practicesUnit testing best practices
Unit testing best practices
 
BDD with JBehave and Selenium
BDD with JBehave and SeleniumBDD with JBehave and Selenium
BDD with JBehave and Selenium
 
Introduction to BDD with Cucumber for Java
Introduction to BDD with Cucumber for JavaIntroduction to BDD with Cucumber for Java
Introduction to BDD with Cucumber for Java
 
BDD with the Cucumber
BDD with the CucumberBDD with the Cucumber
BDD with the Cucumber
 
BDD - Writing better scenario
BDD - Writing better scenarioBDD - Writing better scenario
BDD - Writing better scenario
 

Similar a Hands on BDD Javascript

Virtualizing MongoDB: Cloud, EC2, OpenStack, VMs...or Dedicated?
Virtualizing MongoDB: Cloud, EC2, OpenStack, VMs...or Dedicated?Virtualizing MongoDB: Cloud, EC2, OpenStack, VMs...or Dedicated?
Virtualizing MongoDB: Cloud, EC2, OpenStack, VMs...or Dedicated?
MongoDB
 
Writing a Ruby Gem for beginners
Writing a Ruby Gem for beginnersWriting a Ruby Gem for beginners
Writing a Ruby Gem for beginners
ConFoo
 
Rubyconf presentation
Rubyconf presentationRubyconf presentation
Rubyconf presentation
krevuri
 

Similar a Hands on BDD Javascript (20)

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

Más de James Littlejohn

Big dataweb, science, mining
Big dataweb, science, miningBig dataweb, science, mining
Big dataweb, science, mining
James Littlejohn
 

Más de James Littlejohn (20)

LKNhealth.org
LKNhealth.orgLKNhealth.org
LKNhealth.org
 
Introduction to Idea
Introduction to IdeaIntroduction to Idea
Introduction to Idea
 
IofT Edinburgh Meetup + blockchain science health wearable
IofT Edinburgh Meetup  + blockchain science health wearableIofT Edinburgh Meetup  + blockchain science health wearable
IofT Edinburgh Meetup + blockchain science health wearable
 
Vision for a health blockchain
Vision for a health blockchainVision for a health blockchain
Vision for a health blockchain
 
Dsensor.org peer to peer science
Dsensor.org peer to peer scienceDsensor.org peer to peer science
Dsensor.org peer to peer science
 
Peer to Peer Science - Dsensor.org
Peer to Peer Science - Dsensor.orgPeer to Peer Science - Dsensor.org
Peer to Peer Science - Dsensor.org
 
ProjectSAFE London
ProjectSAFE LondonProjectSAFE London
ProjectSAFE London
 
MAIDSAFE Installer DEMO Project SAFE London
MAIDSAFE Installer DEMO  Project SAFE LondonMAIDSAFE Installer DEMO  Project SAFE London
MAIDSAFE Installer DEMO Project SAFE London
 
Dsensor.org Programmable Science
Dsensor.org  Programmable ScienceDsensor.org  Programmable Science
Dsensor.org Programmable Science
 
Dapps for Web Developers Aberdeen Techmeetup
Dapps for Web Developers Aberdeen TechmeetupDapps for Web Developers Aberdeen Techmeetup
Dapps for Web Developers Aberdeen Techmeetup
 
Currency money & post money
Currency  money & post moneyCurrency  money & post money
Currency money & post money
 
QS Techmeetup Aberdeen
QS Techmeetup AberdeenQS Techmeetup Aberdeen
QS Techmeetup Aberdeen
 
Big dataweb, science, mining
Big dataweb, science, miningBig dataweb, science, mining
Big dataweb, science, mining
 
Open Source Free(DOM)
Open Source Free(DOM)Open Source Free(DOM)
Open Source Free(DOM)
 
MightyMeetup Webapps talk
MightyMeetup  Webapps talkMightyMeetup  Webapps talk
MightyMeetup Webapps talk
 
Wanttobe.org.uk
Wanttobe.org.ukWanttobe.org.uk
Wanttobe.org.uk
 
LifestyleLinking Open Source Project
LifestyleLinking Open Source ProjectLifestyleLinking Open Source Project
LifestyleLinking Open Source Project
 
comparetheuniversities
comparetheuniversitiescomparetheuniversities
comparetheuniversities
 
Volunteer report card - charity hack
Volunteer report card - charity hackVolunteer report card - charity hack
Volunteer report card - charity hack
 
beginners guide to semantic web barcamGlasgow2
beginners guide to semantic web barcamGlasgow2beginners guide to semantic web barcamGlasgow2
beginners guide to semantic web barcamGlasgow2
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

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/