Need help in Xamarin Test Cloud Automation - unit-testing

In Xamrain test cloud both Xamarin.UITest/Calabash is unit testing ? Can't i write in calabash if my app is written with Xamarin as i am not more comfortable with c# ?

Well, you can write your test cases in calabash though your app is written in Xamarin.
Follow this link you might get your answer in Xamrin.iOS section
https://developer.xamarin.com/guides/testcloud/calabash/introduction-to-calabash/

Related

Testing gmail addon

I've created a gmail addon which uses oauth to make external api calls using UrlFetchApp and then uses cards with CardService to show some info.
It all works but there's no documentation on the gmail addon page about how to test the addon. My goal is to write some unit and integration test for my addon core working and have it run on ci services such as Travis. There are many classes the addon uses which are only available in the app script environment such as CardService, OAuth2, GmailApp so mocking all of their functions is quite a bit of work.
Has anybody developed gmail addon with tests which can run on ci services?
GMail add-ons are relatively new to the GSuite ecosystem so you're unlikely to find mocks for it. However, there have been attempts to build Test frameworks for Apps Script.
There is an "awesome list" of GAS resources maintained by Alexander Ivanov on Github with a section dedicated to testing. See link below:
https://github.com/oshliaer/google-apps-script-awesome-list#testing
In its current state it may be difficult to set up Apps Script for continuous integration but with the planned language upgrade to Chrome's V8 engine that may soon change.

MobileFirst Adapters and Unit Test

IBM MobileFirst offers out of the box the possibility to invoke REST Services by server components written in plain Javascript, so called 'Adapters'. Since my app contains a lot of business logic inside them, I need to test it by Unit Test.
Could somebody suggest me a good framework how to create Unit Testing for 'server side' Javascript ?
Thanks.
You can write your own tests as mentioned in this post : https://mobilefirstplatform.ibmcloud.com/blog/2016/04/26/MobileFirst-adapters-automatic-testing/ .
Alternatively swagger UI and Postman can also be used as mentioned here : https://www.ibm.com/support/knowledgecenter/en/SSHS8R_8.0.0/com.ibm.worklight.dev.doc/devref/c_testing_adapters.html

Unit testing for Window Phone App

I am new to windows phone development and Visual Studio. I am writing a windows phone app on Visual Studio Express for Windows. This app has some WinRT components. To unit test this app I used Windows Phone Unit Test App. This Test app run on Windows phone. Is there anything for windows phone from which i can unit test the app apis on desktop itself if yes how can i achieve that?
Is there any maven plugin support for windows phone which does unit testing?
The basic idea behind this is to integrate it with Continuous integration server
Thanks in Advance
You can put the API into a Portable Class Library and test this using other testing tools on your machine (in contrast to WP/Windows apps, xUnit and other great testing frameworks support PCLs)
Furthermore, for testing WP apps, you can do this on your machine as well by running them in the emulator.
To do all these things automatically, look into mstest.exe or even better: the new vstest.console.exe which is used for app unit tests. Depending on what exactly you want to do, this or this might help :)

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

Testing Sencha touch 2 apps

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.