Testing Sencha touch 2 apps - unit-testing

I'm looking for best practices to test Sencha Touch 2 apps. ideally, i would like to automate the execution of test sets (Via CI for example).
I've Looked for test frameworks like Jasmine, JSTestdriver. There is not a lot of feedback about using those frameworks with ST2.
Any ideas ?

To test my Sencha Touch application, I use Ruby with the gems Cucumber and Capybara.
It basically allows you click through the application.
Here's basically how to set up your environment. It says 'on windows' but it works as well on mac.
http://www.richardlawrence.info/2011/08/20/getting-started-with-ruby-cucumber-and-capybara-on-windows/
You can download a starter project at the end of the article.

Related

How to Selenium test Django project that retrieves data through APIs?

I have a Django Project. I want to make end-to-end tests for it using Selenium.
It interacts with Other components (usually run through docker-compose) API and functions properly.
The Django Project and 'Other Components' are different repositories (obviously there are multiple 'other components')
Testing of parts that don't involve API calls, have been tested.
You can use a continuous integration like Jenkins to do your automated task like Selenium.
It's really easy to install localy and/or to serve.
How to install Jenkins : here
have a great day!

Testing Sencha-Cmd using Jasmine

I have found several links to test Sencha-cmd app but none of them is working for me.
Jasmine with Extjs For Unit Tetsing
Step Guide for Unit Testing ExtJS Application
But none of them is working. Is there any good workinf example for Sencha-Cmd application.
Kindly help.
I have recently Setup Jasmine for testing my App using this tutorial Unit and Regression Test Automation of Sencha applications and it works perfectly fine.
It mostly overlaps with your given links and It will definitely work.
You have to change default directory structure of ExtJS application but that should not be a problem.

worklight testing Automation

All,
Is there any Unit testing framework that we can use for Worklight apps. I am aware that there is Rational Test Workbench for Mobile(RTWM) we can use in Worklight IDE for unit testing purpose. I also came across with Appium.io recently and it looks pretty interesting.
I want to be able to run the automated Unit Tests right after the development of the mobile app. Which one would you prefer or any other tools out in the market?
Thanks
Paul
Mobile Test Workbench Worklight (MTWW) is the supported testing framework. Please see: http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.mobtest.doc%2Ftopics%2Fc_wl_mobile_test_ovw.html

Launch eclipse wizard from junit test?

I am writing an eclipse 3.6 RCP application with various menus, navigators, views, wizards etc.
Now I need to add a new wizard. But each time I would like to check how it looks I need to start the whole application, navigate to the menu that contains a button that launches the wizard and then I can see the result.
Is there some tutorials that show how to launch a single wizard from eg a junit test and maybe get some output from some of its pages?
Maybe you are looking for automated UI tests? Such that the tests start eclipse, open the wizard, will in some fields and check the result?
If so, take a look at http://eclipse.org/swtbot/ .
If you only want to check the look of your wizard page, you could use the Google WindowBuilder
This is a UI Designer that has quite nice support for SWT and is able to preview your design.

UI Testing Tool on linux

Looking for a tool to UI testing on Linux .Platform used for development is django.
The idea is that the analysts will capture the tests thru some UI and it will be able to be played back over and over again.
Try with Selenium IDE, http://seleniumhq.org/projects/ide/