worklight testing Automation - unit-testing

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

Related

Framework for E2E tests akka-http

Asking this question because I am trying to figure out the framework which is most widely used for integration testing akka-http. How to automate those tests in Jenkins? Probably a rookie question but ideas are appreciated. Thanks
EDIT from comments:
What have you tried so far? So far I tried implementing 1. Jest 2. Using Testkit, IntegrationPatience Where are you stuck? Both the approaches doesn't look like standard to me and since I have app deployed in multiple locations, I am trying to understand if there is any framework out there which I can use to setup. The app is deployed to multiple data centers which may have different environment variables.
There are a bunch of ways to test a microservice developed using akka-http:
Unit testing
Functional / Integration testing
E2E testing
Load testing
Unit testing using route-testkit (https://doc.akka.io/docs/akka-http/current/routing-dsl/testkit.html)
Functional testing & E2E testing using Akka HTTP client API (https://doc.akka.io/docs/akka-http/current/client-side/index.html) with API contracts you can validate the status codes and response body.
Load testing can be achieved using a bunch of tools, specifically in Scala you can take a look at Gatling.

Do I need a unit-testing framework if I'm already using Cypress in a Vue.js app?

When scaffolding a new project with the Vue.js CLI, it offers a choice of both unit-testing and E2E-testing frameworks.
Unit-testing functionality is perfectly adequate in Cypress. My question, then: is there an advantage to using a distinct unit-testing framework if I'm already using Cypress?
There is a third-party adapter made by a Cypress contributor here called cypress-vue-unit-test(along with unit-test adapters for other popular frameworks).
You should check that out and see if it meets your needs over, say, Jest
From this tutorial about unit testing vuejs, some Jest advantages over Cypress are:
Built in code coverage
Snapshot testing
Module mocking utilities
Also see repo for vue-test-utils

Need help in Xamarin Test Cloud Automation

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/

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 :)

Test framework for web services

We have a monolithic application written in Visual Dataflex, and various complementing applications written in other (.NET) languages. They all share the same database, and need to follow the same business logic. One way to facilitate unified business logic across these is to provide web services as an interface for testing.
Of course, for this to work, we need a good framework for testing web services. Any suggestions? For example, can Cucumber do this "out of the box"?
I'm assuming you're talking about Soap web services. You can use Soap4R to talk to a Soap web service. Wrapping this all up in Cucumber scenarios should work fine.
SoapUI is a pretty nice product for creating webservice tests, and they're easily callable via junit or just via the command line. It's also got some stuff for creating load tests as well.
They've got an opensource version as well as a professional version.