andyperlitch / jsbn

The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers.
Other
167 stars 41 forks source link

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

Open evilaliv3 opened 8 years ago

evilaliv3 commented 8 years ago

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:

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

andyperlitch commented 7 years ago

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.