auto_test 0.1.8 → 0.1.8.5
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/simulation.rb +1 -1
- data/lib/tasks/auto_test.rb +2 -2
- metadata +1 -1
data/lib/auto_test/version.rb
CHANGED
data/lib/simulation.rb
CHANGED
data/lib/tasks/auto_test.rb
CHANGED
@@ -6,7 +6,7 @@ namespace :auto_test do
|
|
6
6
|
sh "rails server -e test -p 3002 -d"
|
7
7
|
path = %x(gem which auto_test)
|
8
8
|
path = path[0..path.size-15]
|
9
|
-
sh "rspec '#{path}/spec/requests/auto_spec.rb' -o '#{path}
|
9
|
+
sh "rspec '#{path}/spec/requests/auto_spec.rb' -o '#{path}/../log/rspec.txt'"
|
10
10
|
sh "rm '#{path}/../log/rspec.txt'"
|
11
11
|
Rake::Task["auto_test:error_calc"].invoke
|
12
12
|
Rake::Task["auto_test:stop"].invoke
|
@@ -29,7 +29,7 @@ namespace :auto_test do
|
|
29
29
|
path = %x(gem which auto_test)
|
30
30
|
path = path[0..path.size-15]
|
31
31
|
puts "Reducing the error path, this could take a while..."
|
32
|
-
sh "rspec #{path}/spec/requests/error_reduction_spec.rb -o '#{path}
|
32
|
+
sh "rspec #{path}/spec/requests/error_reduction_spec.rb -o '#{path}/../log/reduce_err.txt'"
|
33
33
|
sh "rm '#{path}/../log/reduce_err.txt'"
|
34
34
|
Rake::Task["auto_test:start_action_path"].invoke
|
35
35
|
end
|