auto_test 0.0.9.3.1 → 0.0.9.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module AutoTest
2
- VERSION = "0.0.9.3.1"
2
+ VERSION = "0.0.9.3.2"
3
3
  end
@@ -15,8 +15,8 @@ namespace :auto_test do
15
15
  task :error_calc do
16
16
  path = %x(gem which auto_test)
17
17
  path = path[0..path.size-13]
18
- sh "rm '#{path}/../log/rspec.txt'"
19
- err = File.read("#{path}/../log/errors.log")
18
+ sh "rm '#{path}/../../log/rspec.txt'"
19
+ err = File.read("#{path}/../../log/errors.log")
20
20
  if err.to_i > 0 then
21
21
  puts "Do you want to see the error-path in firefox? Type yes/no:"
22
22
  a = STDIN.gets.chomp
@@ -31,8 +31,8 @@ namespace :auto_test do
31
31
  path = %x(gem which auto_test)
32
32
  path = path[0..path.size-13]
33
33
  puts "Reducing the error path, this could take a while..."
34
- sh "rspec #{path}/spec/requests/error_reduction_spec.rb -o '#{path}/../log/reduce_err.txt'"
35
- sh "rm '#{path}/../log/reduce_err.txt'"
34
+ sh "rspec #{path}/../spec/requests/error_reduction_spec.rb -o '#{path}/../../log/reduce_err.txt'"
35
+ sh "rm '#{path}/../../log/reduce_err.txt'"
36
36
  Rake::Task["auto_test:start_action_path"].invoke
37
37
  end
38
38
 
@@ -48,7 +48,7 @@ namespace :auto_test do
48
48
  # puts "Error path reduced.There are #{n} paths to be visited."
49
49
  puts "Press Enter to see the path in Firefox! "
50
50
  STDIN.gets
51
- ruby "#{path}/simulation.rb"
51
+ ruby "#{path}/../simulation.rb"
52
52
  end
53
53
 
54
54
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: auto_test
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.9.3.1
5
+ version: 0.0.9.3.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Maike Hargens