Topic
  • 2 replies
  • Latest Post - ‏2013-01-07T14:38:34Z by Eric Durocher
WJK1_Barani_Ramakrishnan
8 Posts

Pinned topic Unit Testing on dojox.mobile applications

‏2013-01-04T16:45:06Z |
Hi,

I am developing IBM Worklight(5.0.5) applications by using dojox.mobile framework. I am looking for Unit Test and performance testing tool. Please share with your experience.

Note: I know Qunit. But It has been developed with JQuery. I dont want combine both jquery and dojo.
  • SystemAdmin
    SystemAdmin
    2327 Posts

    Re: Unit Testing on dojox.mobile applications

    ‏2013-01-04T22:35:19Z  
    "Note: I know Qunit. But It has been developed with JQuery. I dont want combine both jquery and dojo."

    1- jQuery is part of every Worklight Application, even if you don't use it.
    2- QUnit does not depend on jQuery.

    "QUnit was originally developed by John Resig as part of jQuery. ... now QUnit runs completely standalone."
    From the History section here: http://qunitjs.com/

    3- There's no jQuery-specific syntax involved in writing tests. "QUnit's assertion methods follow the CommonJS Unit Testing specification" (http://wiki.commonjs.org/wiki/Unit_Testing/1.0)

  • Eric Durocher
    Eric Durocher
    38 Posts

    Re: Unit Testing on dojox.mobile applications

    ‏2013-01-07T14:38:34Z  
    Hi,

    You can use DOH (Dojo Objective Harness), as far as I know this works inside Worklight apps. See http://dojotoolkit.org/reference-guide/1.8/util/doh.html. DOH Robot will not work out of the box though, so you can't test user interactions.

    Regards,

    Eric