summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-03-10 10:28:20 +0100
committerChristoph Helma <helma@in-silico.ch>2011-03-10 10:28:20 +0100
commit2043f901e5f7abdac030f4aae8bbcb2d8d38476c (patch)
tree720fa04978da527c64a2e7901dafe506583bc9ce /Rakefile
parent182f3e9f34026934626ceff42902274f2e6f046c (diff)
parenta851e4794630fbae3b6b3bf228b43f550f61febb (diff)
dataset tests fixed
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile21
1 files changed, 5 insertions, 16 deletions
diff --git a/Rakefile b/Rakefile
index 9d6afff..45affdc 100644
--- a/Rakefile
+++ b/Rakefile
@@ -4,24 +4,13 @@ require 'opentox-ruby'
=begin
=end
class Exception
-
def message
- unless errorCause == nil
- errorCause.to_yaml
- else
- self.to_s
- end
+ errorCause ? errorCause.to_yaml : to_s
end
-
end
-#if File.exists? "auth.rb"
- #require "auth"
-#else
- #exit "Please create an authenticatio
- TEST_USER = "guest"
- TEST_PW = "guest"
-#end
+TEST_USER = "guest"
+TEST_PW = "guest"
task ARGV[0] do
puts "Environment: #{ENV["RACK_ENV"]}"
@@ -41,8 +30,8 @@ task :teardown do
OpenTox::Authorization.logout(@@subjectid)
end
-[:all, :feature, :dataset, :fminer, :lazar, :authorization, :validation].each do |t|
-#[:all, :feature, :dataset, :fminer, :lazar, :authorization].each do |t|
+#[: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
end