Does anybody have a recommendation for unit testing home grown rally apps?
I've started to look at Jasmine as recommended in the Sencha docs and it looks promising, but I'm a little unsure about how to tie in all the Rally infrastructure, and I'm not a Javascript expert.
If anybody has used Jasmine for this, do you have some examples of how to set up a basic configuration for using Jasmine to test a SDK2 Rally app?
One of the next things I wanted to create in my app building framework was a tie to some testing framework. I was leaning towards Zombie, you may want to check that one out.
Related
Perhaps a bit of a dim question, but here goes. Can TestCafe Studio be used to create tests for Electron based apps? Having played with it a little, I can see no clear way to do this, and it only offers the usual browsers. Is this a bit too niche? I understand that open-source TestCafe itself is capable of this, but I'm demoing Studio to see if it's suitable for someone who has little experience.
Currently, TestCafe Studio does not support recording tests for Electron applications. We will consider this functionality as a possible enhancement for our future updates.
We have two different projects, one in JS and the other with Java, you know if a single cucumber layer can help me integrate between two project, let's say that one project (JS) is running some operations (testing) that appear on the web application and the second project (JAVA) is running the actions on a mobile device, so we want to be able to combine the two actions, mobile and web application, appreciate the help or ideas, thanks Eyal
1) Are they different projects or the same project but there are 2 or 3 out of web, ios or android versions?
2) Must you write your automation suite in the same language as the application to install test data or use it on this suite?
If you answered 1) with "different projects" or 2) with "Yes" - then it's not wise to do this.
If you want to write a library of helper functions for cross platform purposes, then you can definitely do that. I'm currently looking into the 3 platforms myself, dividing my library into modules and requiring the one I need at the start of run time.
EDIT
In your case, I would go for writing a Cucumber JVM framework, as Java has more robust libraries for working with Desktop and Android applications than JS, from what I've seen on this site.
Mobile First supports any javascript Framework like DOJO/Sencha/jQuery/AngularJS. So is it possible to build new maximo anywhere app also through any above mentioned JS Framework?
The answer is Yes. The mentioned frameworks are frontend/client-side frameworks and as such have no relation to the functionality that MobileFirst and/or Maximo provide you with. They relate to how the app looks, not what the app does.
Yes but, please understand you could have to rewrite some of the ANT scripts used to build the apps. I haven't attempted this yet, and would love to hear your feedback as to what you find. I'm not a fan of dojo and would like an alternative like ionic too!
Has anyone used QUnit to test Windows Store App? Any recommendations on how to run testing smoothly? I seem to be having issues stubbing methods that cite some of the internal Windows. references. Is there a way to run QUnit while the metro app is actually running, instead of writing tests in a standalone fashion?
Check out this project started recently that helps you use QUnit in Metro apps
QUnit-Metro
There are two QunitMetro libraries available
Codeplex http://qunitmetro.github.com/QUnitMetro/
MSDN Code Gallery http://visualstudiogallery.msdn.microsoft.com/9a49206d-8b60-4324-a23f-eb01264ece3d
I recommend the CodePlex version as I have not tried the MSDN one.
I'm writing an API using a non-rails framework. I normally use Cucumber for BDD and testing of API's when I'm writing them in RAILS.
Is there a strong reason not to use Cucumber when I'm testing an API written on top of node.js (or any other framework, really)?
Strong technical reasons to not do this might include:
Dependency of Cucumber on Rails
The existence of a better framework for node.js
Some other technical reason I don't know about.
First of all, Cucumber doesn't depend on Rails.
I have been trying out some different javascript testing frameworks to try to work out what I want to use. So far I like mocha with expect.js for unit testing but I haven't found anything for integration testing a node app that I'm happy with. It's possible to do with mocha and supertest, and I've also tried cucumber.js which is getting there but it's not as mature as the Ruby version - so that's what I intend to use.
I can't think of a good reason not to do this, apart from it may be harder to do things like set up fixtures - but that may well be a good thing as it would force your tests to deal only with the public interface of your API - as it was intended to be used.
As said cucumber has nothing to do with rails.
You could perfectly use it to test API's written in any languages.
In case you want to use node.js full stack cucumber.js is a good option.