8 ms·
Ask HN: how do you regression test your web apps?
In working on Skulpt (.org) I'm growing a decent sized JavaScript code base. I have reasonable test coverage running on d8 (the V8 debug shell) and can run the tests quickly (< 10s) from the command line.
There's a minimal amount of DOM stuff in demo code that's entirely untested, and more importantly for this project, various levels of support and quirks in the browsers' JavaScript implementations that affects the core code.
Assuming a Linux dev environment (though I've got at least 4 XP licenses for VMs if necessary), my question:
How can I set up an unattended process (i.e. one command) that can reliably and quickly tell me whether everything's working on ie7, ie8, ff2, ff3, safari3, safari4, opera9, opera10, and chrome? (x OSs as appropriate)
- jedediah 17y agoI don't know about all of the browsers you mentioned, but my team regression tests on a handful of those browsers using Selenium. [http://seleniumhq.org/ http://seleniumhq.org/] We use a ruby library to drive the Selenium engine and it seems to work pretty well. Edit: Btw, nice job on skulpt, it looks really nice.
- s3graham 17y agoAre you're running the tests on the same OS that you work on? I guess I could set up a whole bunch of VMs (or VM snapshots) and use Selenium RC and then cycle through them.
- hugs 17y agoOr create an account at my startup --> http://saucelabs.com http://saucelabs.com. (Fair disclosure, I created Selenium. ;-)