SlideShare a Scribd company logo
1 of 45
Download to read offline
Testing the Testers

YUI Test versus QUnit


Wednesday, September 16, 2009 - 2:35-3:35p
Testing the Testers: YUI Test versus
QUnit
  Yahoo UI (YUI) Library known for quality
  code.
    YUI Test framework
  JQuery known for concise, quality code.
    QUnit testrunner.
  Ready to test your own
    YUI Unit or QUnit?
Testing the Testers: YUI Test versus
QUnit

  How to create unit tests for YUI Test and
  QUnit
  When to use YUI Test or QUnit
  How to integrate unit testing into your
  Javascript development cycle.
QUnit

 Testrunner for the jQuery project.
 Add functional/regression testing to plugins.
 Efficient JQuery-like design paradigm.
QUnit - Key Features

 Top-Level QUnit Project since May 2008
   No stable release
   Online download from Subversion
 UI Focus
 Plugin Testing
   Regression Testing
 Light-weight testrunner
 Key Contributor - Jorn Zaefferer
http://docs.jquery.com/Qunit
http://dev.jquery.
com/browser
QUnit - Strengths and Weaknesses

Strengths                Weaknesses
   Bundled with JQuery     Proprietary syntax
   Used by JQuery          Lacks server support
   Concise API             Not well known
   Browser friendly        Sole contributor
QUnit - Bottom Line

  Use when coding JQuery plugins and other applications
  Good for UI tests
  Essential for regression testing
  Works well with test-driven development
  For true acceptance tests, add Selenium to the mix
QUnit - Resources

 Getting Started with JQuery QUnit
    http://www.lostechies.com/blogs/chad_myers/archive/2008/08/28/getting-started-with-jquery-qunit-for-client-side-
    javascript-testing/printerfriendly.aspx

  Unit Testing Javascript using JQuery QUnit
    http://highoncoding.com/Articles/570_Unit_Testing_JavaScript_Using_JQuery_QUnit.aspx

  Running JQuery QUnit under Continuous Integration
    http://www.lostechies.com/blogs/joshuaflanagan/archive/2008/09/18/running-jquery-qunit-tests-under-continuous-
    integration.aspx?CommentPosted=true#commentmessage

 Testing ASP.NET MVC QUnit
    http://www.bradygaster.com/post/Testing-ASPNET-MVC-with-QUnit-Part-1.aspx

 Some Qunit Tips
    http://hammett.castleproject.org/?p=300http://hammett.castleproject.org/?p=300

 Functional Testing Javascript with QUnit
    http://www.eviltester.com/index.php/2008/06/17/functional-testing-javascript-with-qunit-initial-steps/http://www.
    eviltester.com/index.php/2008/06/17/functional-testing-javascript-with-qunit-initial-steps/
YUI Test

 Testing framework for browser-based
 solutions.
 Add unit testing to JavaScript solutions.
 Derives characteristics from nUnit and jUnit.
YUI Test - Key Features

  Create test cases through simple syntax.
  Failure detection for methods that throw
  errors.
  Group related cases using test suites.
  Asynchronous tests for testing events and
  Ajax communication.
  Cross-browser DOM Event simulation.
YUI Test - Key Features

  Support for “A-Grade” Browsers
  Release 2.5.2 (2008 May)
    Since July 2007 (YUI 2.3.0)

  License – BSD
  ~16 Team Members
    Yahoo! employees and contributors
    Maintained by Nicholas C. Zakas
       http://www.nczonline.net/
YUI Test - Strengths and Weaknesses

Strengths                     Weaknesses
   Bundled with YUI Library     Bundled with YUI Library
   Large, well-funded team      Lacks server support
   Regular releases             Community is stagnant
   Well Documented              Growth is stagnant
   3rd party IDE support
YUI Test - Bottom Line

   Good for simple event/form tests
   Needs better automation tools
   For true acceptance tests, add Selenium to the mix
Use when coding JavaScript or Ajax applications (and Test-
Driven Development)
YUI Test - Resources

  Writing Effective JavaScript Unit Tests with YUI Test
     Nicholas D. Zakas (2009 January)
    http://yuiblog.com/blog/2009/01/05/effective-tests/

 Test Driven Development with YUI Test
    Nicholas D. Zakas (2008 September)
    http://ajaxexperience.techtarget.com/assets/documents/Nicholas_Zakas_Test_Driven_Development.pdf

    (presentation)
 Writing Your First YUI Application
    Eric Miraglia (2008 May)
    http://www.insideria.com/2008/05/writing-your-first-yui-applica.html
Open QA Selenium

 Selenium is a suite of tools
 Selenium IDE
    records and runs tests
 Selenium Remote Control
    runs across multiple platforms
 Selenium Grid
    runs across multiple machines




  http://selenium.openqa.org/documentation/
f:
cd "F:optselenium-remote-control-1.0-beta-2selenium-server-1.0-
beta-2"
java -jar selenium-server.jar
Please complete
 an evaluation.
Questions?

More Related Content

What's hot

What's hot (14)

UI5 supportability tools explained
UI5 supportability tools explainedUI5 supportability tools explained
UI5 supportability tools explained
 
Top 5 AngularJS Tool for Application Development
Top 5 AngularJS Tool for Application DevelopmentTop 5 AngularJS Tool for Application Development
Top 5 AngularJS Tool for Application Development
 
Manual Testing
Manual TestingManual Testing
Manual Testing
 
Dicoding Developer Coaching #13: Android | Melakukan Testing secara Otomatis ...
Dicoding Developer Coaching #13: Android | Melakukan Testing secara Otomatis ...Dicoding Developer Coaching #13: Android | Melakukan Testing secara Otomatis ...
Dicoding Developer Coaching #13: Android | Melakukan Testing secara Otomatis ...
 
Developing Android Apps
Developing Android AppsDeveloping Android Apps
Developing Android Apps
 
Advanced Strategies for Testing Responsive Web
Advanced Strategies for Testing Responsive WebAdvanced Strategies for Testing Responsive Web
Advanced Strategies for Testing Responsive Web
 
Choosing the Best Open Source Test Automation Tool for You
Choosing the Best Open Source Test Automation Tool for YouChoosing the Best Open Source Test Automation Tool for You
Choosing the Best Open Source Test Automation Tool for You
 
Advanced automated visual testing - DrupalCon seattle 2019
Advanced automated visual testing - DrupalCon seattle 2019Advanced automated visual testing - DrupalCon seattle 2019
Advanced automated visual testing - DrupalCon seattle 2019
 
Munki at Facebook
Munki at FacebookMunki at Facebook
Munki at Facebook
 
Android testing
Android testingAndroid testing
Android testing
 
Top 5 Automation Challenges Webinar
Top 5 Automation Challenges WebinarTop 5 Automation Challenges Webinar
Top 5 Automation Challenges Webinar
 
Eclipse UI automation
Eclipse UI automationEclipse UI automation
Eclipse UI automation
 
Cross Platform Devops with Visual Studio Team Services
Cross Platform Devops with Visual Studio Team ServicesCross Platform Devops with Visual Studio Team Services
Cross Platform Devops with Visual Studio Team Services
 
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
 

Viewers also liked

Invite5加入流程.
Invite5加入流程.Invite5加入流程.
Invite5加入流程.
ERIC CHUANG
 
技术猪是什么猪
技术猪是什么猪技术猪是什么猪
技术猪是什么猪
niceparadise
 
Taylor De Jongh Qualifications Mar 2010
Taylor De Jongh Qualifications Mar 2010Taylor De Jongh Qualifications Mar 2010
Taylor De Jongh Qualifications Mar 2010
lldclldc
 
Teorikaunseling 090910112241-phpapp01
Teorikaunseling 090910112241-phpapp01Teorikaunseling 090910112241-phpapp01
Teorikaunseling 090910112241-phpapp01
onnel_91
 
Informativo Técnico Leite 2010
Informativo Técnico Leite 2010Informativo Técnico Leite 2010
Informativo Técnico Leite 2010
AgriPoint
 
David Wei And Changhao Jiang Presentation
David Wei And Changhao Jiang PresentationDavid Wei And Changhao Jiang Presentation
David Wei And Changhao Jiang Presentation
Ajax Experience 2009
 
The distributive property
The distributive propertyThe distributive property
The distributive property
Megan Woods
 
New book ch 1, sect 1
New book ch 1, sect 1New book ch 1, sect 1
New book ch 1, sect 1
charsh
 

Viewers also liked (20)

Invite5加入流程.
Invite5加入流程.Invite5加入流程.
Invite5加入流程.
 
Chapter07
Chapter07Chapter07
Chapter07
 
Jim Marks Twitter Deck
Jim Marks Twitter DeckJim Marks Twitter Deck
Jim Marks Twitter Deck
 
Participation for Interactive Narratives
Participation for Interactive NarrativesParticipation for Interactive Narratives
Participation for Interactive Narratives
 
Passive Voice
Passive VoicePassive Voice
Passive Voice
 
Modal verbs
Modal verbsModal verbs
Modal verbs
 
技术猪是什么猪
技术猪是什么猪技术猪是什么猪
技术猪是什么猪
 
Taylor De Jongh Qualifications Mar 2010
Taylor De Jongh Qualifications Mar 2010Taylor De Jongh Qualifications Mar 2010
Taylor De Jongh Qualifications Mar 2010
 
Product launch - de integratie tussen Marketing / Productie (opschaling) / in...
Product launch - de integratie tussen Marketing / Productie (opschaling) / in...Product launch - de integratie tussen Marketing / Productie (opschaling) / in...
Product launch - de integratie tussen Marketing / Productie (opschaling) / in...
 
Format makalah DDP MIPA
Format makalah DDP MIPA Format makalah DDP MIPA
Format makalah DDP MIPA
 
Teorikaunseling 090910112241-phpapp01
Teorikaunseling 090910112241-phpapp01Teorikaunseling 090910112241-phpapp01
Teorikaunseling 090910112241-phpapp01
 
Presentatie Workshop FP Advance Sept 2010 Fv
Presentatie Workshop FP Advance Sept 2010 FvPresentatie Workshop FP Advance Sept 2010 Fv
Presentatie Workshop FP Advance Sept 2010 Fv
 
Home away
Home awayHome away
Home away
 
Informativo Técnico Leite 2010
Informativo Técnico Leite 2010Informativo Técnico Leite 2010
Informativo Técnico Leite 2010
 
David Wei And Changhao Jiang Presentation
David Wei And Changhao Jiang PresentationDavid Wei And Changhao Jiang Presentation
David Wei And Changhao Jiang Presentation
 
The distributive property
The distributive propertyThe distributive property
The distributive property
 
Agile Collaboration in a Virtual World: Harnessing Social Media, Web 2.0 and ...
Agile Collaboration in a Virtual World: Harnessing Social Media, Web 2.0 and ...Agile Collaboration in a Virtual World: Harnessing Social Media, Web 2.0 and ...
Agile Collaboration in a Virtual World: Harnessing Social Media, Web 2.0 and ...
 
web信息架构与社会化
web信息架构与社会化web信息架构与社会化
web信息架构与社会化
 
New book ch 1, sect 1
New book ch 1, sect 1New book ch 1, sect 1
New book ch 1, sect 1
 
Transmedia and Augmented Reality
Transmedia and Augmented RealityTransmedia and Augmented Reality
Transmedia and Augmented Reality
 

Similar to Ted Husted Presentation Testing The Testers Ae2009

Sakai10 Selenium Workshop
Sakai10 Selenium WorkshopSakai10 Selenium Workshop
Sakai10 Selenium Workshop
coreyjack
 
Jack borden jb471909_junit1
Jack borden jb471909_junit1Jack borden jb471909_junit1
Jack borden jb471909_junit1
jborden33
 
Jack borden jb471909_junit
Jack borden jb471909_junitJack borden jb471909_junit
Jack borden jb471909_junit
jborden33
 
Selenium 1july
Selenium 1julySelenium 1july
Selenium 1july
Edureka!
 

Similar to Ted Husted Presentation Testing The Testers Ae2009 (20)

Testing Tools
Testing ToolsTesting Tools
Testing Tools
 
Testing In Java
Testing In JavaTesting In Java
Testing In Java
 
Testing In Java4278
Testing In Java4278Testing In Java4278
Testing In Java4278
 
Practicing Agile in Offshore Environment by Himanshu Seth & Imran Mir
Practicing Agile in Offshore Environment by Himanshu Seth & Imran MirPracticing Agile in Offshore Environment by Himanshu Seth & Imran Mir
Practicing Agile in Offshore Environment by Himanshu Seth & Imran Mir
 
Sakai10 Selenium Workshop
Sakai10 Selenium WorkshopSakai10 Selenium Workshop
Sakai10 Selenium Workshop
 
Qunit tutorial
Qunit tutorialQunit tutorial
Qunit tutorial
 
Automated testing of JavaFX GUI components
Automated testing of JavaFX GUI componentsAutomated testing of JavaFX GUI components
Automated testing of JavaFX GUI components
 
Case study: Open Source Automation Framework using Selenium WebDriver
Case study: Open Source Automation Framework using Selenium WebDriverCase study: Open Source Automation Framework using Selenium WebDriver
Case study: Open Source Automation Framework using Selenium WebDriver
 
How do you implement Continuous Delivery? Part 4: Automated Testing
How do you implement Continuous Delivery? Part 4: Automated TestingHow do you implement Continuous Delivery? Part 4: Automated Testing
How do you implement Continuous Delivery? Part 4: Automated Testing
 
Testing in mule
Testing in muleTesting in mule
Testing in mule
 
Jack borden jb471909_junit1
Jack borden jb471909_junit1Jack borden jb471909_junit1
Jack borden jb471909_junit1
 
Jack borden jb471909_junit
Jack borden jb471909_junitJack borden jb471909_junit
Jack borden jb471909_junit
 
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdfLesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
 
Visual Automation Framework via Screenshot Comparison
Visual Automation Framework via Screenshot ComparisonVisual Automation Framework via Screenshot Comparison
Visual Automation Framework via Screenshot Comparison
 
Codeception introduction and use in Yii
Codeception introduction and use in YiiCodeception introduction and use in Yii
Codeception introduction and use in Yii
 
Selenium 1july
Selenium 1julySelenium 1july
Selenium 1july
 
The 2014 Decision Makers Guide to Java Web Frameworks
The 2014 Decision Makers Guide to Java Web FrameworksThe 2014 Decision Makers Guide to Java Web Frameworks
The 2014 Decision Makers Guide to Java Web Frameworks
 
YUI Test The Next Generation (YUIConf 2010)
YUI Test The Next Generation (YUIConf 2010)YUI Test The Next Generation (YUIConf 2010)
YUI Test The Next Generation (YUIConf 2010)
 
Test automation in agile ecosystem
Test automation in agile ecosystemTest automation in agile ecosystem
Test automation in agile ecosystem
 
JahiaOne 2015 - How to automatically unit and integration test your Digital F...
JahiaOne 2015 - How to automatically unit and integration test your Digital F...JahiaOne 2015 - How to automatically unit and integration test your Digital F...
JahiaOne 2015 - How to automatically unit and integration test your Digital F...
 

More from Ajax Experience 2009

Adam Peller Interoperable Ajax Tools And Mashups
Adam Peller Interoperable Ajax Tools And MashupsAdam Peller Interoperable Ajax Tools And Mashups
Adam Peller Interoperable Ajax Tools And Mashups
Ajax Experience 2009
 
Eric Beland Ajax Load Testing Considerations
Eric Beland Ajax Load Testing ConsiderationsEric Beland Ajax Load Testing Considerations
Eric Beland Ajax Load Testing Considerations
Ajax Experience 2009
 
Chanhao Jiang And David Wei Presentation Quickling Pagecache
Chanhao Jiang And David Wei Presentation Quickling PagecacheChanhao Jiang And David Wei Presentation Quickling Pagecache
Chanhao Jiang And David Wei Presentation Quickling Pagecache
Ajax Experience 2009
 
Jason.O Keefe.Genuitec.Presentation.Final
Jason.O Keefe.Genuitec.Presentation.FinalJason.O Keefe.Genuitec.Presentation.Final
Jason.O Keefe.Genuitec.Presentation.Final
Ajax Experience 2009
 
Colin Clark Accessible U Is With J Query And Infusion[1]
Colin Clark Accessible U Is With J Query And Infusion[1]Colin Clark Accessible U Is With J Query And Infusion[1]
Colin Clark Accessible U Is With J Query And Infusion[1]
Ajax Experience 2009
 
Scott Isaacs Presentationajaxexperience (Final)
Scott Isaacs Presentationajaxexperience (Final)Scott Isaacs Presentationajaxexperience (Final)
Scott Isaacs Presentationajaxexperience (Final)
Ajax Experience 2009
 
Sergey Ilinsky Presentation Ample Sdk
Sergey Ilinsky Presentation Ample SdkSergey Ilinsky Presentation Ample Sdk
Sergey Ilinsky Presentation Ample Sdk
Ajax Experience 2009
 
Chris Williams Presentation Dissident
Chris Williams Presentation DissidentChris Williams Presentation Dissident
Chris Williams Presentation Dissident
Ajax Experience 2009
 
Ted Husted Presentation Testing Ajax Applications Ae2009
Ted Husted Presentation Testing Ajax Applications Ae2009Ted Husted Presentation Testing Ajax Applications Ae2009
Ted Husted Presentation Testing Ajax Applications Ae2009
Ajax Experience 2009
 
Ted Husted Api Doc Smackdown Ae2009
Ted Husted Api Doc Smackdown Ae2009Ted Husted Api Doc Smackdown Ae2009
Ted Husted Api Doc Smackdown Ae2009
Ajax Experience 2009
 
Patrick Lightbody Presentation Tae Slides
Patrick Lightbody Presentation Tae SlidesPatrick Lightbody Presentation Tae Slides
Patrick Lightbody Presentation Tae Slides
Ajax Experience 2009
 
Laurens Van Den Oever Xopus Presentation
Laurens Van Den Oever Xopus PresentationLaurens Van Den Oever Xopus Presentation
Laurens Van Den Oever Xopus Presentation
Ajax Experience 2009
 
Jon Trelfa Presentation From Desktop To Web – Getting It Right
Jon Trelfa Presentation From Desktop To Web – Getting It RightJon Trelfa Presentation From Desktop To Web – Getting It Right
Jon Trelfa Presentation From Desktop To Web – Getting It Right
Ajax Experience 2009
 
Douglas Crockford Presentation Goodparts
Douglas Crockford Presentation GoodpartsDouglas Crockford Presentation Goodparts
Douglas Crockford Presentation Goodparts
Ajax Experience 2009
 
Douglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation JsonsagaDouglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation Jsonsaga
Ajax Experience 2009
 
Brian Le Roux Presentation Introducing Phone Gap
Brian Le Roux Presentation Introducing Phone GapBrian Le Roux Presentation Introducing Phone Gap
Brian Le Roux Presentation Introducing Phone Gap
Ajax Experience 2009
 

More from Ajax Experience 2009 (20)

Adam Peller Interoperable Ajax Tools And Mashups
Adam Peller Interoperable Ajax Tools And MashupsAdam Peller Interoperable Ajax Tools And Mashups
Adam Peller Interoperable Ajax Tools And Mashups
 
Eric Beland Ajax Load Testing Considerations
Eric Beland Ajax Load Testing ConsiderationsEric Beland Ajax Load Testing Considerations
Eric Beland Ajax Load Testing Considerations
 
Chanhao Jiang And David Wei Presentation Quickling Pagecache
Chanhao Jiang And David Wei Presentation Quickling PagecacheChanhao Jiang And David Wei Presentation Quickling Pagecache
Chanhao Jiang And David Wei Presentation Quickling Pagecache
 
Jason.O Keefe.Genuitec.Presentation.Final
Jason.O Keefe.Genuitec.Presentation.FinalJason.O Keefe.Genuitec.Presentation.Final
Jason.O Keefe.Genuitec.Presentation.Final
 
Jenny Donnelly
Jenny DonnellyJenny Donnelly
Jenny Donnelly
 
Colin Clark Accessible U Is With J Query And Infusion[1]
Colin Clark Accessible U Is With J Query And Infusion[1]Colin Clark Accessible U Is With J Query And Infusion[1]
Colin Clark Accessible U Is With J Query And Infusion[1]
 
Scott Isaacs Presentationajaxexperience (Final)
Scott Isaacs Presentationajaxexperience (Final)Scott Isaacs Presentationajaxexperience (Final)
Scott Isaacs Presentationajaxexperience (Final)
 
Sergey Ilinsky Presentation Ample Sdk
Sergey Ilinsky Presentation Ample SdkSergey Ilinsky Presentation Ample Sdk
Sergey Ilinsky Presentation Ample Sdk
 
Chris Williams Presentation Dissident
Chris Williams Presentation DissidentChris Williams Presentation Dissident
Chris Williams Presentation Dissident
 
Andrew Sutherland Presentation
Andrew Sutherland PresentationAndrew Sutherland Presentation
Andrew Sutherland Presentation
 
Bill Scott Presentation
Bill Scott PresentationBill Scott Presentation
Bill Scott Presentation
 
Ted Husted Presentation Testing Ajax Applications Ae2009
Ted Husted Presentation Testing Ajax Applications Ae2009Ted Husted Presentation Testing Ajax Applications Ae2009
Ted Husted Presentation Testing Ajax Applications Ae2009
 
Ted Husted Api Doc Smackdown Ae2009
Ted Husted Api Doc Smackdown Ae2009Ted Husted Api Doc Smackdown Ae2009
Ted Husted Api Doc Smackdown Ae2009
 
Patrick Lightbody Presentation Tae Slides
Patrick Lightbody Presentation Tae SlidesPatrick Lightbody Presentation Tae Slides
Patrick Lightbody Presentation Tae Slides
 
Laurens Van Den Oever Xopus Presentation
Laurens Van Den Oever Xopus PresentationLaurens Van Den Oever Xopus Presentation
Laurens Van Den Oever Xopus Presentation
 
Jon Trelfa Presentation From Desktop To Web – Getting It Right
Jon Trelfa Presentation From Desktop To Web – Getting It RightJon Trelfa Presentation From Desktop To Web – Getting It Right
Jon Trelfa Presentation From Desktop To Web – Getting It Right
 
Joe Mc Cann Tae Aria Presentation
Joe Mc Cann Tae Aria PresentationJoe Mc Cann Tae Aria Presentation
Joe Mc Cann Tae Aria Presentation
 
Douglas Crockford Presentation Goodparts
Douglas Crockford Presentation GoodpartsDouglas Crockford Presentation Goodparts
Douglas Crockford Presentation Goodparts
 
Douglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation JsonsagaDouglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation Jsonsaga
 
Brian Le Roux Presentation Introducing Phone Gap
Brian Le Roux Presentation Introducing Phone GapBrian Le Roux Presentation Introducing Phone Gap
Brian Le Roux Presentation Introducing Phone Gap
 

Recently uploaded

+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@
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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...
 
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
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
+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
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
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...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Ted Husted Presentation Testing The Testers Ae2009

  • 1. Testing the Testers YUI Test versus QUnit Wednesday, September 16, 2009 - 2:35-3:35p
  • 2. Testing the Testers: YUI Test versus QUnit Yahoo UI (YUI) Library known for quality code. YUI Test framework JQuery known for concise, quality code. QUnit testrunner. Ready to test your own YUI Unit or QUnit?
  • 3. Testing the Testers: YUI Test versus QUnit How to create unit tests for YUI Test and QUnit When to use YUI Test or QUnit How to integrate unit testing into your Javascript development cycle.
  • 4. QUnit Testrunner for the jQuery project. Add functional/regression testing to plugins. Efficient JQuery-like design paradigm.
  • 5. QUnit - Key Features Top-Level QUnit Project since May 2008 No stable release Online download from Subversion UI Focus Plugin Testing Regression Testing Light-weight testrunner Key Contributor - Jorn Zaefferer
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 19.
  • 20.
  • 21. QUnit - Strengths and Weaknesses Strengths Weaknesses Bundled with JQuery Proprietary syntax Used by JQuery Lacks server support Concise API Not well known Browser friendly Sole contributor
  • 22. QUnit - Bottom Line Use when coding JQuery plugins and other applications Good for UI tests Essential for regression testing Works well with test-driven development For true acceptance tests, add Selenium to the mix
  • 23. QUnit - Resources Getting Started with JQuery QUnit http://www.lostechies.com/blogs/chad_myers/archive/2008/08/28/getting-started-with-jquery-qunit-for-client-side- javascript-testing/printerfriendly.aspx Unit Testing Javascript using JQuery QUnit http://highoncoding.com/Articles/570_Unit_Testing_JavaScript_Using_JQuery_QUnit.aspx Running JQuery QUnit under Continuous Integration http://www.lostechies.com/blogs/joshuaflanagan/archive/2008/09/18/running-jquery-qunit-tests-under-continuous- integration.aspx?CommentPosted=true#commentmessage Testing ASP.NET MVC QUnit http://www.bradygaster.com/post/Testing-ASPNET-MVC-with-QUnit-Part-1.aspx Some Qunit Tips http://hammett.castleproject.org/?p=300http://hammett.castleproject.org/?p=300 Functional Testing Javascript with QUnit http://www.eviltester.com/index.php/2008/06/17/functional-testing-javascript-with-qunit-initial-steps/http://www. eviltester.com/index.php/2008/06/17/functional-testing-javascript-with-qunit-initial-steps/
  • 24. YUI Test Testing framework for browser-based solutions. Add unit testing to JavaScript solutions. Derives characteristics from nUnit and jUnit.
  • 25. YUI Test - Key Features Create test cases through simple syntax. Failure detection for methods that throw errors. Group related cases using test suites. Asynchronous tests for testing events and Ajax communication. Cross-browser DOM Event simulation.
  • 26. YUI Test - Key Features Support for “A-Grade” Browsers Release 2.5.2 (2008 May) Since July 2007 (YUI 2.3.0) License – BSD ~16 Team Members Yahoo! employees and contributors Maintained by Nicholas C. Zakas http://www.nczonline.net/
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34. YUI Test - Strengths and Weaknesses Strengths Weaknesses Bundled with YUI Library Bundled with YUI Library Large, well-funded team Lacks server support Regular releases Community is stagnant Well Documented Growth is stagnant 3rd party IDE support
  • 35. YUI Test - Bottom Line Good for simple event/form tests Needs better automation tools For true acceptance tests, add Selenium to the mix Use when coding JavaScript or Ajax applications (and Test- Driven Development)
  • 36. YUI Test - Resources Writing Effective JavaScript Unit Tests with YUI Test Nicholas D. Zakas (2009 January) http://yuiblog.com/blog/2009/01/05/effective-tests/ Test Driven Development with YUI Test Nicholas D. Zakas (2008 September) http://ajaxexperience.techtarget.com/assets/documents/Nicholas_Zakas_Test_Driven_Development.pdf (presentation) Writing Your First YUI Application Eric Miraglia (2008 May) http://www.insideria.com/2008/05/writing-your-first-yui-applica.html
  • 37. Open QA Selenium Selenium is a suite of tools Selenium IDE records and runs tests Selenium Remote Control runs across multiple platforms Selenium Grid runs across multiple machines http://selenium.openqa.org/documentation/
  • 38.
  • 39.
  • 40.
  • 42.
  • 43.
  • 44. Please complete an evaluation.