Coming soon: Continuous Integration with JavaScript
August 18th, 2005Jon 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.
Tweet