diff options
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 22 |
1 files changed, 10 insertions, 12 deletions
@@ -1,14 +1,17 @@ require 'rubygems' require 'opentox-ruby' -if File.exists? "auth.rb" - require "auth" -else - #exit "Please create an authenticatio - TEST_USER = "guest" - TEST_PW = "guest" +=begin +=end +class Exception + def message + errorCause ? errorCause.to_yaml : to_s + end end +TEST_USER = "guest" +TEST_PW = "guest" + task ARGV[0] do puts "Environment: #{ENV["RACK_ENV"]}" puts "Test: "+ARGV[0]+".rb" @@ -27,12 +30,7 @@ task :teardown do OpenTox::Authorization.logout(@@subjectid) end -class Exception - def message - errorCause ? errorCause.to_yaml : to_s - end -end - +#[:all, :feature, :dataset, :fminer, :lazar, :authorization, :validation].each do |t| [:all, :feature, :dataset, :fminer, :lazar, :authorization].each do |t| task :teardown => t task t => :setup |