cucumber-formatters 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cucumber/formatter/failures.rb +12 -5
- metadata +21 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82122616ef83f2e04469c6a37497ecb30026354a
|
4
|
+
data.tar.gz: e08477b0b0a1e84fe3ba6eb2ade4f16f9a256622
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9701a1b49ce471456c591ee7e69b92a47f0eecb9b7cbc9fb0f30dcf878e539bd97e952c9734addcafc595810badb1738eaae16d0f0d989fbccb11a41a11cbacf
|
7
|
+
data.tar.gz: 9ca18c5f9da9f8c9b1980963a2e19b3343ae7c3c5062943f841e2204ff0b8004f19ea2d09203f24de7bc27c4e26896ab14adccd3a87197e286c5caaa01ea12ca
|
@@ -38,7 +38,8 @@ module Cucumber
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def feature_name(keyword, name)
|
41
|
-
|
41
|
+
simple_name = name.split("\n").first
|
42
|
+
@feature = "#{keyword}: #{simple_name}"
|
42
43
|
end
|
43
44
|
|
44
45
|
def before_background(_background)
|
@@ -50,11 +51,13 @@ module Cucumber
|
|
50
51
|
end
|
51
52
|
|
52
53
|
def background_name(keyword, name, *_args)
|
53
|
-
|
54
|
+
simple_name = name.split("\n").first
|
55
|
+
@background = " #{keyword}: #{simple_name}"
|
54
56
|
end
|
55
57
|
|
56
58
|
def scenario_name(keyword, name, *_args)
|
57
|
-
|
59
|
+
simple_name = name.split("\n").first
|
60
|
+
@scenario = " #{keyword}: #{simple_name}"
|
58
61
|
end
|
59
62
|
|
60
63
|
def step_name(keyword, step_match, *_args)
|
@@ -73,7 +76,7 @@ module Cucumber
|
|
73
76
|
|
74
77
|
def after_table_row(table_row)
|
75
78
|
return unless table_row.exception
|
76
|
-
@
|
79
|
+
@table_row = " Row: #{table_row.name}"
|
77
80
|
exception(table_row.exception, table_row.status, 6)
|
78
81
|
end
|
79
82
|
|
@@ -85,7 +88,11 @@ module Cucumber
|
|
85
88
|
@io.puts @step unless @step.nil?
|
86
89
|
@io.puts @table_row unless @table_row.nil?
|
87
90
|
|
88
|
-
@feature
|
91
|
+
@feature = nil
|
92
|
+
@background = nil
|
93
|
+
@scenario = nil
|
94
|
+
@step = nil
|
95
|
+
@table_row = nil
|
89
96
|
end
|
90
97
|
|
91
98
|
def print_summary(features)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-formatters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Slaughter
|
@@ -14,72 +14,72 @@ dependencies:
|
|
14
14
|
name: yard
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '0.8'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
26
|
+
version: '0.8'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: coveralls
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
33
|
+
version: '0.6'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
40
|
+
version: '0.6'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '3.1'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '3.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '10.4'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '10.4'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: cucumber
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
75
|
+
version: '2.0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
82
|
+
version: '2.0'
|
83
83
|
description: A collection of cucumber formatters
|
84
84
|
email: b.p.slaughter@gmail.com
|
85
85
|
executables: []
|