More automatic testing with JavaScript
August 2nd, 2005As a follow up to the previous article: with the very latest SVN trunk of script.aculo.us having all sorts of nice unit testing thanks to efforts of Jon Tirsen (and some make-it-look-good additions from Michael Schuerig) a very nice framework for (more or less pragmatic) in-browser unit testing of JavaScript (and HTML!) has come in to place (it’s still to be considered quite alpha, but it basically works).
For some working examples on this fire up test/inplaceeditor_unit.html or test/test.html in Firefox (Safari/IE currently not supported, planned!) and watch the magic. Be sure to do a “view source” for the interesting part.
If you want to be a part of this and have suggestions on this (or patches…), please subscribe to the rails-spinoffs mailling list!
Tweet