public
Description: Simpltry Javascript Widgets
Homepage: http://widgets.simpltry.com
Clone URL: git://github.com/schlueter/simpltryjs.git
simpltryjs / Rakefile
100644 18 lines (15 sloc) 0.425 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Dir["tasks/*.rake"].each { |ext| load ext }
require 'tasks/javascripttest'
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")
    
    Dir["test/**/*.html"].each do |file|
        t.run("/#{file}")
    end
    
    t.browser(:safari)
    t.browser(:firefox)
    t.browser(:ie)
    t.browser(:konqueror)
end