bpampuch / pdfmake

Client/server side PDF printing in pure JavaScript
http://pdfmake.org
Other
11.67k stars 2.04k forks source link

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

Open evilaliv3 opened 8 years ago

evilaliv3 commented 8 years ago

It would be valuable to integrate with Saucelabs in order to track code coverage on commit.

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

An example of the output is the following: https://github.com/globaleaks/GlobaLeaks

We would love to have this in GlobaLeaks given how critical how project is and i think it will be really a benefit for all the pdfmake users!

p.s. i'm not from Saucelabs selling it to you, i'm simply a satisfied users of a tool that is freely offered to opensource users. feel free to rely on me for further explanation as i've already supported various libraries in doing that so if you could clarify me how are you currently running unit tests i will help you finding the best integration.

reference: https://github.com/globaleaks/GlobaLeaks/issues/1674

evilaliv3 commented 8 years ago

it is not clear to me if you have decided to adopt Gulp or Grunt (https://github.com/bpampuch/pdfmake/issues/585); i will then start helping you on this ticket.

evilaliv3 commented 8 years ago

@bmihelac: from an analysis to how current tests are implement by using mocha, i suggest that you go for adopting saucelabs-runner.

the schema for doing such integration is the same i did for scrypt-async-js and openpgp.js but there i used grunt-saucalabs becouse of the use of Grunt.