1. #1
    Sencha User kostysh's Avatar
    Join Date
    Nov 2011
    Location
    Odessa, Ukraine
    Posts
    176
    Vote Rating
    19
    kostysh will become famous soon enough kostysh will become famous soon enough

      0  

    Default UnitTests bundle for Sencha Touch

    UnitTests bundle for Sencha Touch


    Create your own environment for UnitTest driven development for Sencha Touch applications in minutes.
    First (beta) release is already on GitHub: https://github.com/kostysh/UnitTests...r-Sencha-Touch

    Features:
    • JSLint tests
    • Jasmin UnitTests
    • Support for multiple projects
    • Ease to install
    • Demo project with tests
    Thanks to Arthur Kay for good article http://www.sencha.com/blog/automating-unit-tests/
    and code: https://github.com/SenchaProSvcs/UnitTestDemo

    Are anybody interested in this tool?
    What do you think about name of this project? Maybe another name will be better?

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Location
    Coimbatore
    Posts
    103
    Vote Rating
    -1
    venkatesh.R will become famous soon enough

      0  

    Default Unit Test Bundle

    Unit Test Bundle


    @Kostysh

    Could you just explain how to set up and run the Test case for Sencha application.



    Thanks,

  3. #3
    Sencha User kostysh's Avatar
    Join Date
    Nov 2011
    Location
    Odessa, Ukraine
    Posts
    176
    Vote Rating
    19
    kostysh will become famous soon enough kostysh will become famous soon enough

      0  

    Default


    Setup in details described in Readme on github repository https://github.com/kostysh/UnitTests...r-Sencha-Touch

    This repository also contains a demo app with some tests (more in next release).
    Please setup environment as explained before you start.

    Tests you can find in 'tests' folder in Demoapp. If you a novice in UnitTests, I suggest you read about ideology of UnitTest-driven development and then learn Jasmine API: http://pivotal.github.com/jasmine/

    Developing a UnitTest is not a hard task. Tests should be clear and simple.

    After the tests are ready and index file in tests folder is configured - you can simply run testall.sh from console in 'tools' folder. JSLint errors and Jasmine output will be in 'logs' folder.

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Location
    Coimbatore
    Posts
    103
    Vote Rating
    -1
    venkatesh.R will become famous soon enough

      0  

    Default Unit testing

    Unit testing


    Hi Kostysh


    Thanks for your reply. i will follow your instructions for Unit testing.



    Thanks

Thread Participants: 1

Tags for this Thread