[Thali-talk] jxcore-cordova-tests

Yaron Goland yarong at microsoft.com
Wed Jun 24 18:03:49 EDT 2015


We are just starting to think seriously about testing. What we are trying to do is radically minimize our native dependencies and then provide a mock layer for them to we can run functional tests on Travis or equivalent.

We really want to keep the “on device” tests as what we used to call BVTs or Nightlies. Just because they are such a completely nightmare to run. Our plan is to set up a lab with a bunch of devices that we can remotely provision and run tests on. So likely as not we will have a dedicated server that collects outputs from the devices and sees if they passed their tests or not.

It’s all a work in progress. Right now we are more focused on just getting story -1 and story 0 out the door.

               Thanks,

                              Yaron

From: Dominique [mailto:deefactorial at gmail.com]
Sent: Wednesday, June 24, 2015 11:57 AM
To: Yaron Goland
Cc: thali-talk at thaliproject.org
Subject: Re: [Thali-talk] jxcore-cordova-tests

This is a good framework for integration tests and gives some performance feedback on how fast the communication between the server and the client is. One problem I ran into was trying to run the server side unit tests. Mocha has a binary executable that it performs the tests with, I didn't find a way to execute the binary on the android client, so I wasn't able to run the server side superagent tests. It may be possible to copy over the binary from the APK archive, change the permission to executable and run the file, more testing is needed...

Cheers,
Dominique

On Tue, Jun 23, 2015 at 5:30 PM, Yaron Goland <yarong at microsoft.com<mailto:yarong at microsoft.com>> wrote:
Sorry for taking so long to respond but I was off on paternity leave.

This is pretty cool. I opened https://github.com/thaliproject/Thali_CordovaPlugin/issues/15 and referenced your work as an example.

               Thanks!

                              Yaron

From: Thali-talk [mailto:thali-talk-bounces at thaliproject.org<mailto:thali-talk-bounces at thaliproject.org>] On Behalf Of Dominique
Sent: Monday, May 25, 2015 10:28 AM
To: thali-talk at thaliproject.org<mailto:thali-talk at thaliproject.org>
Subject: [Thali-talk] jxcore-cordova-tests

I thought I should let you know about a project I've been doing some work on.

https://github.com/deefactorial/jxcore-cordova-tests

I've integrated the superagent tests to test the browser integration with the node express server using jxcore-cordova project. I can use this now to test any problems I'm having with the integration of the jxcore-cordova project.

The tests run in the webview and test the integration with the express server running on jxcore using mocha and the tests from superagent repo.

Cheers,
Dominique

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist10.pair.net/pipermail/thali-talk/attachments/20150624/069de17c/attachment-0001.html>


More information about the Thali-talk mailing list