3 ms·
Automate it! Set up a browser test that screencaps the important pages for the documentation (and checks them for basic errors like 500 status or no text). In
by jaggederest 10y ago
Automate it! Set up a browser test that screencaps the important pages for the documentation (and checks them for basic errors like 500 status or no text).
In the long run you can diff the images and assert that they haven't changed more than N% from the reference, but for now, it makes evergreen documentation.
- overshard 10y agoGood idea, I've already automated most everything else for testing and pushing to Heroku. I may as well!
- sycora 10y agoNightmare is great for this: https://github.com/segmentio/nightmare https://github.com/segmentio/nightmare
- nodejsbangalore 10y agohttp://trinityradar.com/ http://trinityradar.com/ can do this. Full disclosure: I work on this project.