jiahuang / d3-timeline

Simple JS timeline plugin for d3
1.04k stars 280 forks source link

Regression testing #66

Open inodb opened 9 years ago

inodb commented 9 years ago

I assume most regression testing is currently done by looking at example.html and seeing if any of the examples break. Maybe we can add a screenshot of example.html in the repo to be able to see on GitHub how the commits change the example page, similar to: https://github.com/cBioPortal/clinical-timeline/commit/05e92450261bd61ca3debb99c409144335c5afde. That screenshot has been generated with PhantomJS. A screenshot per example would be better, but it's a start. I'm not very familiar with JS testing so let me know what you think.

jiahuang commented 9 years ago

That's definitely a start. Would be better than our current way, which is no tests at all.