MrRio/jsPDF — Issue #9: Regression / unit tests?
Author: dvdotsenko
Created: 2012-02-20 22:09:26+00:00
State: open

In preparation of messing with jsPDF's internals added some "unit" (really, regression-catching) tests (QUnit). ( https://github.com/willowsystems/jsPDF/tree/master/test )

These assume test.html is ran against a web server (localhost + static nginx in my case) because the reference PDF text loader is done in async Get's and that does not fly with file:.

Long story short: work great for me, but is not consumer-friendly, and, definitely browser-centric.

Please, let me know if you have some other testing set up in mind. If it's not a pain in a rear (my set up isn't for me) i would gladly use your solution and will pile up a few test on top.