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
Thanks to Arthur Kay for good article http://www.sencha.com/blog/automating-unit-tests/
- JSLint tests
- Jasmin UnitTests
- Support for multiple projects
- Ease to install
- Demo project with 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?
Unit Test Bundle
Could you just explain how to set up and run the Test case for Sencha application.
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.
Thanks for your reply. i will follow your instructions for Unit testing.
Tags for this Thread