qat-cucumber 7.0.3 → 7.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/qat/cucumber/version.rb +1 -1
- data/lib/qat/formatter/helper.rb +2 -4
- data/lib/qat/formatter/utility_function.rb +2 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52049a50f92285548892ab45b105aeda40630d3cb8051adfe644700b0e92189c
|
4
|
+
data.tar.gz: d0bc611a1eb4ddd61ee3510371421488776db8e6f0bccede00d123e55634d87a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b1f39bceb8c052f341eb38cc55caaa9759516d89eb656eb1c7ed38b66f4a7da7c22a696b62b6b16267d88cb72b904c291cf5f89f8dea35de057049db42f4303
|
7
|
+
data.tar.gz: 21871419441011ffc39378b804d4b4d6281c709b5e8a4225eadac053ddf69b232a117fa12c1fa90efbad2e52788fbeef62a475a849df2777cd66d0a3b1c3a485
|
data/lib/qat/cucumber/version.rb
CHANGED
data/lib/qat/formatter/helper.rb
CHANGED
@@ -39,8 +39,7 @@ module QAT
|
|
39
39
|
def on_test_step_started(event)
|
40
40
|
return if @config.dry_run?
|
41
41
|
test_step = event.test_step
|
42
|
-
return
|
43
|
-
return if support_hook?(test_step)
|
42
|
+
return unless features?(test_step)
|
44
43
|
step_source = @ast_lookup.step_source(test_step).step
|
45
44
|
print_assign_step test_step, step_source
|
46
45
|
end
|
@@ -49,8 +48,7 @@ module QAT
|
|
49
48
|
def on_test_step_finished(event)
|
50
49
|
return if @config.dry_run?
|
51
50
|
test_step, result = *event.attributes
|
52
|
-
return
|
53
|
-
return if support_hook?(test_step)
|
51
|
+
return unless features?(test_step)
|
54
52
|
log.info "Step Done!"
|
55
53
|
end
|
56
54
|
|
@@ -49,17 +49,10 @@ module QAT
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
def
|
53
|
-
test_step.location.file.include?('
|
52
|
+
def features?(test_step)
|
53
|
+
test_step.location.file.include?('.feature')
|
54
54
|
end
|
55
55
|
|
56
|
-
def support_hook?(test_step)
|
57
|
-
test_step.location.file.include?('features/support/hooks')
|
58
|
-
end
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
56
|
end
|
64
57
|
end
|
65
58
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qat-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- QAT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|