jsbn icon indicating copy to clipboard operation
jsbn copied to clipboard

Evaluate integration of Saucelabs in order to test cross-browser compatibility on commit

Open evilaliv3 opened this issue 8 years ago • 1 comments

It would be valuable to integrate with Saucelabs in order totest cross-browser compatibility on commit.

As the library currently is missing any unit test / unit test framework, my suggestion is to start implemeting them using grunt-saucelabs integrated with mocha.

This way it will be possiblle to automatically execute all the unit test on the selection of browsers targetted by the library (all) and know proactively where it is not working.

E.g.: screenshot from 2016-03-14 20 36 40

Good examples reference for doing this are at:

  • https://github.com/dchest/scrypt-async-js
  • https://github.com/openpgpjs/openpgpjs

It would be also nice to start tracking the code quality of the project using for example CodeClimate tracking also the code coverage.

evilaliv3 avatar Mar 12 '16 11:03 evilaliv3

Agreed. As of now there are no tests written, but I am going to try and find some time soon to at least set up the test suite with some initial tests. PRs are, of course, welcome.

andyperlitch avatar Feb 12 '17 07:02 andyperlitch