Thomas Fuchs
Hi, I'm Thomas Fuchs. I'm the author of Zepto.js, of script.aculo.us, and I'm a Ruby on Rails core alumnus. With Amy Hoy I'm building cheerful software, like Noko Time Tracking and Every Time Zone and write books like Retinafy.me.
   Want me to speak at your conference? Contact me!

Coming soon: Continuous Integration with JavaScript

August 18th, 2005

Jon Tirsen writes about Continuous Integration with JavaScript and how this will be a part of script.aculo.us. Basically, there’ll be some magic in the Rakefile for script.aculo.us (using WEBrick and AppleScript) and some additional magic in unittest.js to do this:

desc “Runs all the JavaScript unit tests and collects the results”
JavaScriptTestTask.new(:unittest) do |t|
  t.mount(“/lib”)
  t.mount(“/src”)
  t.mount(“/test”)

  t.run(“/test/unit/unittest_test.html”)
  t.run(“/test/unit/ajax_inplaceeditor_test.html”)
  t.run(“/test/unit/string_test.html”)
  t.run(“/test/unit/builder_test.html”)

  t.browser(:safari)
  t.browser(:firefox)
end

This will output a nice overview of what’s working as expected on what browser.