Your SlideShare is downloading. ×
Ted Husted Presentation Testing The Testers Ae2009
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Ted Husted Presentation Testing The Testers Ae2009


Published on

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide


  • 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
  • 6.
  • 7. http://dev.jquery. com/browser
  • 8. 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
  • 9. 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
  • 10. QUnit - Resources Getting Started with JQuery QUnit javascript-testing/printerfriendly.aspx Unit Testing Javascript using JQuery QUnit Running JQuery QUnit under Continuous Integration integration.aspx?CommentPosted=true#commentmessage Testing ASP.NET MVC QUnit Some Qunit Tips Functional Testing Javascript with QUnit
  • 11. YUI Test Testing framework for browser-based solutions. Add unit testing to JavaScript solutions. Derives characteristics from nUnit and jUnit.
  • 12. 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.
  • 13. 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
  • 14. 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
  • 15. 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)
  • 16. YUI Test - Resources Writing Effective JavaScript Unit Tests with YUI Test Nicholas D. Zakas (2009 January) Test Driven Development with YUI Test Nicholas D. Zakas (2008 September) (presentation) Writing Your First YUI Application Eric Miraglia (2008 May)
  • 17. 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
  • 18. f: cd "F:optselenium-remote-control-1.0-beta-2selenium-server-1.0- beta-2" java -jar selenium-server.jar
  • 19. Please complete an evaluation.
  • 20. Questions?