• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Welcome! Chicago Ajax Developers Friday, June 12 2009
 

Welcome! Chicago Ajax Developers Friday, June 12 2009

on

  • 793 views

 

Statistics

Views

Total Views
793
Views on SlideShare
793
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Welcome! Chicago Ajax Developers Friday, June 12 2009 Welcome! Chicago Ajax Developers Friday, June 12 2009 Presentation Transcript

    • Welcome! Chicago Ajax Developers Friday, June 12 2009
    • Who Am I?
      • Arthur Kay
      • Web Developer at GFX International
      • ASP.NET and AJAX
    • Who Am I?
      • 10+ years of Web Development
      • .NET, Classic ASP, PHP, Python, JavaScript, CSS
      • Analytics, SEO, Email Marketing
      • www.akawebdesign.com
      • blog.akawebdesign.com
    • Chicago Ajax Developers
      • Monthly JavaScript Meetup
      • www.ChicagoAjaxDevelopers.com
    • Our First Meeting!
    • Agenda
      • An Introduction to ExtJS
      • Unit Testing in ExtJS
    • ExtJS
      • Open Source JavaScript library for building rich internet applications.
      • Object-oriented, customizable widgets
      • www.extjs.com
      • Huge community of developers, forums
      • Ext Conference 2009
      • Lightweight Ext Core
      • Ext GWT (Java)
    • ExtJS Example
      • Viewport and Grid
      • UI for my Unit Testing example
    • About Unit Testing
      • Confidence that your application works when future changes are made.
      • “Unit” – the smallest testable part of an application:
        • Function
        • Class
      • Commonly done in C#, Java and similar languages.
    • Unit Testing in JavaScript
      • It sucks.
      • Common problems:
        • Limited to browser
        • Global namespace
        • Latency between client/server
      • If JS developers can accept these limitations, Unit Testing is great!
    • Unit Testing in JavaScript
      • Other JS Libraries have Unit Test classes
        • YUI > YUI Test
        • jQuery > QUnit
        • Prototype > TestCase
        • Script.aculo.us > UnitTest
      • ExtJS has nothing.
    • Unit Testing in ExtJS
      • Ext.ux.UnitTest ()
        • TestArray[] - array
        • Store() - object
        • Test() - object
        • NewUnitTest() - function
    • Ext.ux.UnitTest.Test()
      • generateGuid()
      • wait()
      • assertEquals()
      • assertNotEquals()
      • assertUndefinedOrNull ()
      • assertNotUndefinedOrNull ()
      • assertContains ()
      • assertNotContains ()
    • Let’s Build Some Tests!
    • Resources
      • aKa Web Design – ExtJS Unit Testing
      • ExtJS - Unit Testing Thread