digitalbazaar / forge

A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps
https://digitalbazaar.com/
Other
5.07k stars 784 forks source link

Implement cross-compatibility testing by means of SauceLabs #261

Open evilaliv3 opened 9 years ago

evilaliv3 commented 9 years ago

It would be relevant to implement some cross-browser compatibility testing in order to validate the implementation of forge libraries among a wide range of Browsers, Versions and OS.

A complete in-the-cloud solution for this is offered by https://saucelabs.com/ that offers free accounts for OpenSource projects so that forge could benefit of it.

evilaliv3 commented 9 years ago

the tools needed while addressing this tickets should be choosen along with the one used to address https://github.com/digitalbazaar/forge/issues/260

probable valuable softwares are:

davidlehn commented 7 years ago

Forge is now using karma for browser testing so it may be straighforward to integrate SauceLabs support: https://github.com/karma-runner/karma-sauce-launcher https://docs.travis-ci.com/user/sauce-connect/

As mentioned in #260, coverage testing exists using istanbul but is very slow. This may be a resource usage issue with free coverage testing services?

evilaliv3 commented 7 years ago

Nope i do not think so. You will run the coverage still on travis and just push the data on coveralls.

davidlehn commented 7 years ago

As a data point, coverage testing on a 4GHz i7-4790k takes 20m35s and has some test timeouts.

davidlehn commented 7 years ago

Some karma sauce labs support was added. Patches for a good browser list are welcome. Patches welcome for travis-ci integration.