Thursday, August 18th, 2005

Continuous Integration with JavaScript

Category: JavaScript

It was obvious that Mr. Damage Control would come up with nice continous integration with JavaScript.

Jon ended up with:

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

Can’t wait to see it out in the wild.

Posted by Dion Almaer at 10:37 am
Comment here

+++--
3 rating from 5 votes

Comments Here »

Comments feed

Leave a comment

You must be logged in to post a comment.