Mobile Development and Testing
Upcoming SlideShare
Loading in...5
×
 

Mobile Development and Testing

on

  • 1,809 views

Presentation at Denver Open Source User Group on how to develop and test a JQuery Mobile application for IOS and Android

Presentation at Denver Open Source User Group on how to develop and test a JQuery Mobile application for IOS and Android

Statistics

Views

Total Views
1,809
Views on SlideShare
1,809
Embed Views
0

Actions

Likes
0
Downloads
9
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

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
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Mobile Development and Testing Mobile Development and Testing Presentation Transcript

  • MOBILE DEVELOPMENT AND TESTING Scott Ryan September 2011
  • AGENDAProject FocusProject OrganizationUnit Testing using JasmineIntegration and Functional Testing using PhantomGradle Build ProcessesPackaging and Delivery
  • PROJECT FOCUSGenerate a random number between 1 and set numberAllow configuration of repeatsPresent useful in flight data to the userSupport multiple mobile and web platforms
  • TOOLSETCSS JasmineHTML 5 PhantomJavascript JS Test DriverJQuery Mobile ZombiePhone gap GradleEclipse/Xcode/Web Storm
  • PROJECT STRUCTURELeverage Common StructureSource versus testSupport mobile developmentLayer javascript (Service, Presentation, etc)Use frameworks such as Spine or Backbone, etc.
  • DEVELOPMENTStart with Test DescriptionBuild out the testsBuild code to satisfy the testsReview presentation with user/owner
  • TDD WITH JASMINEConstructorNumber GeneratorCheck and StoreLast NumberSelectionsReset
  • JASMINEDescribe to group high level conceptsMultiple layers of DescribeUse It descriptions to clarify tests
  • JASMINESuites and Specs help structure testsUse matchers to assert resultsCustom matchers can be developedRun from Spec HTMLRun from Phantom to support CI
  • JASMINEBefore and After structuresRunners are run before/after every spec in a suiteSuite based run before/after a specSpecs can have one or more after structures
  • JASMINE SPIESSupport mocking, faking and interceptingCan be used to mock out async behavourHave specific matchers wasCalled, wasCalledWith Spyon and .... (throw, return, call through)Properties count, parameters
  • ASYNC JASMINERunsWaitsWaitsFor
  • PHANTOM TESTINGOrganize to support project structureBuild tests to support integrated processesTests integration of javascript with each other and with thedisplay layerScreen capture to validate look and feelIntegrate with CI
  • PHANTOMWebkit Headless Full Support browserCreate page with URLInject your behavior into the browserCan inject JS and CSS filesCapture screen shots from within browser
  • JS TEST DRIVERSupports CIAllows for clustered executionVery scalable with parallel executionBuilt to test multiple browser behaviorIDE IntegrationQuick start up
  • BUILD AND PACKAGEGradle build leveraging Ant tasks as wellMinify and Replace‘About’ page replacementWar or zip deliveryMobile packaging using phonegap
  • SOURCE CODEGithubhttps://github.com/scryan7371/NumGen