I cant see any "how to test a Sencha 2 app" in the documentation - is there really no framework support for testing? How should one test a Sencha 2 app, whats best pratice?
标签:
sencha-touch-2
相关问题
- Sencha Touch 2: 'specified Store cannot be fou
- Vbox layout issue in a tab panel
- items not loading in sencha touch 2
- How to use WebSql database with sencha touch Appli
- Sencha touch Textfield hightlight behavior in Sams
相关文章
- Sencha Touch Ext.navigation.View pop to root
- How to move from one view to another view using vi
- Button inside of an input field Sencha Touch 2.0
- How to destroy an inactive view in Sencha Touch
- SenchaTouch2.0 + socket.io : how to use socket.io.
- Sencha touch 2 + Apple push notifications + Ext.de
- How to remove particular view from navigation stac
- Cordova install on Linux
I suggest using a Rails architecture with Cucumber, Capybara and Selenium to to tests your Sencha Touch 2 web application. This is working pretty well for me.
found a good Sencha blog about testing:
http://www.sencha.com/blog/automating-unit-tests/
As referenced in the comment links... the best way to do it is to run it localhost. I use xampp to do this. You need to also install Sencha SDK tools, etc. You can find the official guide on how to setuo your application for testing using sencha command here: http://docs.sencha.com/touch/2-0/#!/guide/command
Here's a 5 part series covering unit testing using Jasmine (used internally by Sencha) and integration testing using Siesta (built for Sencha app level testing).
Run your app under local server like wampserver, apache tomcat etc.
Be sure to use Web browsers like Chrome, Safari only which supports Webtk engine.