SlideShare uma empresa Scribd logo
1 de 18
         
Getting started with javascript testing
   Pavneet Singh Saund
   Web developer at Komplett Group

   e: pav.saund@gmail.com
   t: @pavsaund
   
   Javascript is a functional scripting language
   It’s what brings ‘the web’ alive
    Animations
    Dynamic User Interfaces
    Client <-> server communication
    Business logic
   Javascript lives on the client
   ...and also in your phone : Apps
   ...and the server : Nodejs
   ...and also on the desktop : Windows 8
”any application that can be written in
JavaScript, will eventually be written in
JavaScript.”

                                                                   Jeff Atwood
                    http://www.codinghorror.com/blog/2007/07/the-principle-of-least-power.html
           
...It’s still code after all
   You’re expected to write specs for code
   It has to be mantainable ( SOLID )
   This is just as important for Javascript
   ...if not more important
         
..but beware: it’s a jungle out there!
   JasmineBDD
   BusterJS
   QUnit
   Mocha
   JSUnit
   YUI Test
   JSpec
   Js-Test-Driver
   ...
   Js-Test-Driver
   Chutzpah
   JSTest.NET
   Forseti
   ...
   Test.html
   Continuous
   Ad-Hoc
   Open Sourced
   Headless test / spec runner for JavaScript
   Focus on a short feedback loop
   Convention-based
   Automatic running of tests
   Cross platform testrunner
   Continuous testing
   Frameworks: JasmineBDD, BusterJS, Qunit, Mocha
   IDE integration (VS, Mono)
   Growl notfifications
   ...
Å   KOMME IGANG...
   Js-Test-Driver
   Chutzpah
   JSTest.NET
   Forseti
   ...
   
   

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Javascript and DOM
Javascript and DOMJavascript and DOM
Javascript and DOM
 
Functional javascript
Functional javascriptFunctional javascript
Functional javascript
 
React Typescript for beginners: Translator app with Microsoft cognitive services
React Typescript for beginners: Translator app with Microsoft cognitive servicesReact Typescript for beginners: Translator app with Microsoft cognitive services
React Typescript for beginners: Translator app with Microsoft cognitive services
 
Web worker
Web workerWeb worker
Web worker
 
How to meets Async and Task
How to meets Async and TaskHow to meets Async and Task
How to meets Async and Task
 
Export pdf with puppeteer
Export pdf with puppeteerExport pdf with puppeteer
Export pdf with puppeteer
 
Monkey space 2013
Monkey space 2013Monkey space 2013
Monkey space 2013
 
Unit testing for User Interfaces
Unit testing for User InterfacesUnit testing for User Interfaces
Unit testing for User Interfaces
 
JVM Bytecodes
JVM BytecodesJVM Bytecodes
JVM Bytecodes
 
Swoole Meetup AFUP¨Montpellier 27/01/2021
Swoole   Meetup  AFUP¨Montpellier 27/01/2021Swoole   Meetup  AFUP¨Montpellier 27/01/2021
Swoole Meetup AFUP¨Montpellier 27/01/2021
 
2015: A static site generator odyssey
2015: A static site generator odyssey2015: A static site generator odyssey
2015: A static site generator odyssey
 
Meetup React Sanca - 29/11/18 - React Testing
Meetup React Sanca - 29/11/18 - React TestingMeetup React Sanca - 29/11/18 - React Testing
Meetup React Sanca - 29/11/18 - React Testing
 
Daniel Steigerwald - Este.js - konec velkého Schizma
Daniel Steigerwald - Este.js - konec velkého SchizmaDaniel Steigerwald - Este.js - konec velkého Schizma
Daniel Steigerwald - Este.js - konec velkého Schizma
 
Gwt
GwtGwt
Gwt
 
Js Test Driver, JsHamcrest, JsMockito
Js Test Driver, JsHamcrest, JsMockitoJs Test Driver, JsHamcrest, JsMockito
Js Test Driver, JsHamcrest, JsMockito
 
JSConf US 2014: Building Isomorphic Apps
JSConf US 2014: Building Isomorphic AppsJSConf US 2014: Building Isomorphic Apps
JSConf US 2014: Building Isomorphic Apps
 
What is node.js
What is node.jsWhat is node.js
What is node.js
 
Testing Storm components with Groovy and Spock
Testing Storm components with Groovy and SpockTesting Storm components with Groovy and Spock
Testing Storm components with Groovy and Spock
 
Testing and symfony2
Testing and symfony2Testing and symfony2
Testing and symfony2
 
file1
file1file1
file1
 

Destaque (7)

Bdd with m spec
Bdd with m specBdd with m spec
Bdd with m spec
 
Dot Net Notts Js Unit Testing at Microlise
Dot Net Notts Js Unit Testing at  MicroliseDot Net Notts Js Unit Testing at  Microlise
Dot Net Notts Js Unit Testing at Microlise
 
Fleet Management Telematics Devices
Fleet Management Telematics DevicesFleet Management Telematics Devices
Fleet Management Telematics Devices
 
Making komplett big by going small
Making komplett big by going smallMaking komplett big by going small
Making komplett big by going small
 
Telematics for Fleet Management
Telematics for Fleet ManagementTelematics for Fleet Management
Telematics for Fleet Management
 
M2M Telefónica - Internet of Things Keynote
M2M Telefónica - Internet of Things KeynoteM2M Telefónica - Internet of Things Keynote
M2M Telefónica - Internet of Things Keynote
 
Transportation Management Ppt
Transportation Management PptTransportation Management Ppt
Transportation Management Ppt
 

Semelhante a Forseti driven javascript

Brad Enterprise Solution Architect
Brad Enterprise Solution ArchitectBrad Enterprise Solution Architect
Brad Enterprise Solution Architect
Brad Travis
 
Browser and Cloud - The Future of IDEs?
Browser and Cloud - The Future of IDEs?Browser and Cloud - The Future of IDEs?
Browser and Cloud - The Future of IDEs?
martinlippert
 
Isomorphic JavaScript: #DevBeat Master Class
Isomorphic JavaScript: #DevBeat Master ClassIsomorphic JavaScript: #DevBeat Master Class
Isomorphic JavaScript: #DevBeat Master Class
Spike Brehm
 
J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
 
Oscon2007 Windmill
Oscon2007 WindmillOscon2007 Windmill
Oscon2007 Windmill
oscon2007
 

Semelhante a Forseti driven javascript (20)

Foolangjs
FoolangjsFoolangjs
Foolangjs
 
Proposal
ProposalProposal
Proposal
 
Nodejs
NodejsNodejs
Nodejs
 
Brad Enterprise Solution Architect
Brad Enterprise Solution ArchitectBrad Enterprise Solution Architect
Brad Enterprise Solution Architect
 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate Framework
 
Browser and Cloud - The Future of IDEs?
Browser and Cloud - The Future of IDEs?Browser and Cloud - The Future of IDEs?
Browser and Cloud - The Future of IDEs?
 
Isomorphic JavaScript: #DevBeat Master Class
Isomorphic JavaScript: #DevBeat Master ClassIsomorphic JavaScript: #DevBeat Master Class
Isomorphic JavaScript: #DevBeat Master Class
 
J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
 
02 Node introduction
02 Node introduction02 Node introduction
02 Node introduction
 
The Java alternative to Javascript
The Java alternative to JavascriptThe Java alternative to Javascript
The Java alternative to Javascript
 
Node JS Express: Steps to Create Restful Web App
Node JS Express: Steps to Create Restful Web AppNode JS Express: Steps to Create Restful Web App
Node JS Express: Steps to Create Restful Web App
 
Node.js
Node.jsNode.js
Node.js
 
Node js Introduction
Node js IntroductionNode js Introduction
Node js Introduction
 
Node js presentation
Node js presentationNode js presentation
Node js presentation
 
Oscon2007 Windmill
Oscon2007 WindmillOscon2007 Windmill
Oscon2007 Windmill
 
Isomorphic JavaScript with Nashorn
Isomorphic JavaScript with NashornIsomorphic JavaScript with Nashorn
Isomorphic JavaScript with Nashorn
 
Nodejs presentation
Nodejs presentationNodejs presentation
Nodejs presentation
 
Nodejs
NodejsNodejs
Nodejs
 
Node J pdf.docx
Node J pdf.docxNode J pdf.docx
Node J pdf.docx
 
Node J pdf.docx
Node J pdf.docxNode J pdf.docx
Node J pdf.docx
 

Ú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)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
+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...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Forseti driven javascript

  • 1.  Getting started with javascript testing
  • 2. Pavneet Singh Saund  Web developer at Komplett Group  e: pav.saund@gmail.com  t: @pavsaund
  • 3.
  • 4. Javascript is a functional scripting language  It’s what brings ‘the web’ alive Animations Dynamic User Interfaces Client <-> server communication Business logic
  • 5. Javascript lives on the client  ...and also in your phone : Apps  ...and the server : Nodejs  ...and also on the desktop : Windows 8
  • 6. ”any application that can be written in JavaScript, will eventually be written in JavaScript.” Jeff Atwood http://www.codinghorror.com/blog/2007/07/the-principle-of-least-power.html
  • 7.  ...It’s still code after all
  • 8. You’re expected to write specs for code  It has to be mantainable ( SOLID )  This is just as important for Javascript  ...if not more important
  • 9.  ..but beware: it’s a jungle out there!
  • 10. JasmineBDD  BusterJS  QUnit  Mocha  JSUnit  YUI Test  JSpec  Js-Test-Driver  ...
  • 11. Js-Test-Driver  Chutzpah  JSTest.NET  Forseti  ...
  • 12. Test.html  Continuous  Ad-Hoc
  • 13. Open Sourced  Headless test / spec runner for JavaScript  Focus on a short feedback loop  Convention-based  Automatic running of tests
  • 14. Cross platform testrunner  Continuous testing  Frameworks: JasmineBDD, BusterJS, Qunit, Mocha  IDE integration (VS, Mono)  Growl notfifications  ...
  • 15. Å KOMME IGANG...
  • 16. Js-Test-Driver  Chutzpah  JSTest.NET  Forseti  ...
  • 17.
  • 18.