spinach_file_reporter 0.0.1.2 → 0.0.1.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33b55c0a2e74e0c3626367b9e10ae04a0402122d
|
4
|
+
data.tar.gz: 0911c41f15e4fbe050d5ddef239e187867a088a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 057a62fedbb7849f15d32f5dc1901e8a68c7b2d47f3ad38f6b5919d1aa98168d81f3febe8ac909901fbc8dd5c74ce7fa6bb5066b34c9ed9f5ed25ef11e115da3
|
7
|
+
data.tar.gz: f619c00026949ef5e32f3cfafcbd97eae7aaf4f25973b70b9a6bcb9085676298c3a1e175049554f09ee7cc1899e9ac465a3f0c708cbe89d562d90a501fcbf4fd
|
@@ -26,7 +26,7 @@ module Spinach
|
|
26
26
|
file.puts @file_errors.uniq.join(' ')
|
27
27
|
file.close
|
28
28
|
else
|
29
|
-
File.delete("tmp/
|
29
|
+
File.delete("tmp/spinach_spinach.txt") if File.file?("tmp/spinach_spinach.txt")
|
30
30
|
end
|
31
31
|
super(success)
|
32
32
|
end
|
@@ -89,8 +89,7 @@ module Spinach
|
|
89
89
|
def on_failed_step(step, failure, step_location, step_definitions = nil)
|
90
90
|
output_step('✘', step, :red, step_location)
|
91
91
|
self.scenario_error = [current_feature, current_scenario, step, failure]
|
92
|
-
|
93
|
-
@file_errors.push( "features/#{feature}.feature") if step_location
|
92
|
+
@file_errors.push "#{current_feature.filename}:#{current_scenario.line}"
|
94
93
|
failed_steps << scenario_error
|
95
94
|
end
|
96
95
|
|
@@ -104,8 +103,8 @@ module Spinach
|
|
104
103
|
#
|
105
104
|
def on_error_step(step, failure, step_location, step_definitions = nil)
|
106
105
|
output_step('!', step, :red, step_location)
|
107
|
-
feature = step_location[0].split( '/' ).last.split('.').first
|
108
106
|
self.scenario_error = [current_feature, current_scenario, step, failure]
|
107
|
+
@file_errors.push "#{current_feature.filename}:#{current_scenario.line}"
|
109
108
|
error_steps << scenario_error
|
110
109
|
end
|
111
110
|
|
Binary file
|
@@ -3,7 +3,7 @@ require "spinach_file_reporter/gem_description"
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'spinach_file_reporter'
|
6
|
-
s.version = '0.0.1.
|
6
|
+
s.version = '0.0.1.3'
|
7
7
|
s.date = '2015-07-24'
|
8
8
|
s.summary = 'Reporter for spinach with file output'
|
9
9
|
s.description = Spinach::FileReporter::Reporter::GemDescription.to_s
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spinach_file_reporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JuanMa Jurado
|
@@ -38,6 +38,7 @@ files:
|
|
38
38
|
- lib/spinach_file_reporter/gem_description.rb
|
39
39
|
- lib/spinach_file_reporter/spinach_file_reporter.rb
|
40
40
|
- spinach_file_reporter-0.0.1.1.gem
|
41
|
+
- spinach_file_reporter-0.0.1.2.gem
|
41
42
|
- spinach_file_reporter.gemspec
|
42
43
|
homepage: https://github.com/jmjurado23/spinach_file_reporter
|
43
44
|
licenses:
|