Does anyone know if there is a JavaScript test suite for testing Sencha Touch Apps like there is QUnit for jQuery.
Thanks
You can use Jasmine, it seems to be successful for many:
http://jonathangrimes.com/2011/10/jasmine-extjs-mvc-a-love-story/
Soon Sencha will be updating Siesta to support Sencha Touch
Related
I am working on sencha touch mobile app. I am weak in css and html5. I am founding if a designer make same design using css and html5. How can i use it on sencha touch?Is that possible in sencha touch to work with UI/UX developer.
Please suggest me.
Thanks.
Theming is done in Sencha Touch with SASS.
Start by reading
http://docs.sencha.com/touch/2.2.1/#!/guide/theming
Good luck!
I just downloaded mAdserve and was willing to try it out with my Sencha Touch 2 application. Unfortunately, it only comes bundles with SDKs for Andriod and iOS. How can I take advantage of this with Sencha Touch or HTML5 apps in general?
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?
found a good Sencha blog about testing:
http://www.sencha.com/blog/automating-unit-tests/
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).
http://pivotallabs.com/sencha-touch-bdd-part-1/ - Jasmine unit testing
http://pivotallabs.com/sencha-touch-bdd-part-2/ - Unit testing models.
http://pivotallabs.com/sencha-touch-bdd-part-3/ - Testing Views and Mocking Stores
http://pivotallabs.com/sencha-touch-bdd-part-4/ - Headless testing using PhantomJS
http://pivotallabs.com/sencha-touch-bdd-part-5/ - Controller 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.
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
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.
I am trying to optimize the performance of a Sencha Touch 2.0 app on iPad device.
Please point out some way for doing this.
Is any tools are available for iPad to test the performance of web app??
Thanks.
For your first question, this link may help:
PhoneGap 1.4 wrapping Sencha Touch 2.X - What about performance?
About performance inspection, you can just use Developer Tools of your iPad's Safari. Here is a good tutorial to get started: https://developer.apple.com/technologies/safari/developer-tools.html
Are you going to deploy the app as an iPad native or are you going to use it within the web browser?
Whatever the case, if you are going to deploy as native, it will automatically be optimised and no unnecessary files will be loaded.
If you are going to use it within a web browser, I suggest deploying it as production and not loading the whole source.
This can be achieved by navigating to your sencha touch 2 app and running the following sdk command:
sencha app build production
Then you should load that page within your browser.
I was looking into using either jquery mobile or sencha touch to enhance a mobile web app I had been developing and after seeing some impressive Sencha Touch demos I decided it was the more refined framework.
Anyways, after looking at the Sencha Touch website I'm not sure which version I should be downloading, the current commercial version or the 2.0 developer preview release 3?
While it isn't fully complete yet, I don't want to spend time developing with version 1.1.1 and then have to migrate in 3-4 months time from now (not sure what the development timeline is so I may be way off).
I was hoping a Sencha touch developer would be able to provide some insight on what the best practice would be here.
Thanks
Also, I currently have the app developed in codeigniter with a more simplistic UI, are the two easy to integrate or not?
In my case has "Sencha Touch 2.0.0 Preview Release 3" only made problems. Now I've installed the "Sencha Touch 1.1.1" and it works up to now everything. As long as I can still work with it to be seen.