auto_test 0.0.9.3 → 0.0.9.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/auto_test/version.rb +1 -1
- data/lib/tasks/auto_test.rb +4 -4
- metadata +1 -1
data/lib/auto_test/version.rb
CHANGED
data/lib/tasks/auto_test.rb
CHANGED
@@ -7,8 +7,8 @@ namespace :auto_test do
|
|
7
7
|
path = %x(gem which auto_test)
|
8
8
|
path = path[0..path.size-13]
|
9
9
|
sh "rspec '#{path}/../spec/requests/auto_spec.rb' -o '#{path}/../../log/rspec.txt'"
|
10
|
-
Rake::Task[:error_calc].invoke
|
11
|
-
Rake::Task[:stop].invoke
|
10
|
+
Rake::Task["auto_test:error_calc"].invoke
|
11
|
+
Rake::Task["auto_test:stop"].invoke
|
12
12
|
end
|
13
13
|
|
14
14
|
desc "calculating the errors"
|
@@ -21,7 +21,7 @@ namespace :auto_test do
|
|
21
21
|
puts "Do you want to see the error-path in firefox? Type yes/no:"
|
22
22
|
a = STDIN.gets.chomp
|
23
23
|
if a == "yes" then
|
24
|
-
Rake::Task[:reduce_errors].invoke
|
24
|
+
Rake::Task["auto_test:reduce_errors"].invoke
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
@@ -33,7 +33,7 @@ namespace :auto_test do
|
|
33
33
|
puts "Reducing the error path, this could take a while..."
|
34
34
|
sh "rspec #{path}/spec/requests/error_reduction_spec.rb -o '#{path}/../log/reduce_err.txt'"
|
35
35
|
sh "rm '#{path}/../log/reduce_err.txt'"
|
36
|
-
Rake::Task[:start_action_path].invoke
|
36
|
+
Rake::Task["auto_test:start_action_path"].invoke
|
37
37
|
end
|
38
38
|
|
39
39
|
desc "starting the simulation"
|