cucumber_statistics 1.0.4 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rvmrc +1 -1
- data/lib/cucumber_statistics/formatter.rb +1 -2
- data/lib/cucumber_statistics/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9759fd739130c61df0287dbe123631dd05a7814
|
4
|
+
data.tar.gz: 38854a7845742ccbb7e380ef0761afc14e370a47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f32624fb0d0df76a57fc4314fd681a11f45493bf0010672c7a6a70911acc34f59a5ab25947aa690538360e512797cd074e48b46f07f27ad5b983c91aa0782cd
|
7
|
+
data.tar.gz: b92064d806762f3a9761bbd235b3f10142ad10433902c4858affc4bf8de98571248210cfd9d1ec30bc02adc1c1b16d18a24fa1cf8ed0a90eb2bd406c4c685874
|
data/.rvmrc
CHANGED
@@ -13,7 +13,7 @@ module CucumberStatistics
|
|
13
13
|
#----------------------------------------------------
|
14
14
|
# Step callbacks
|
15
15
|
#----------------------------------------------------
|
16
|
-
def
|
16
|
+
def before_test_step(step)
|
17
17
|
@step_start_time = Time.now
|
18
18
|
end
|
19
19
|
|
@@ -22,7 +22,6 @@ module CucumberStatistics
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def after_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background, file_colon_line)
|
25
|
-
|
26
25
|
step_definition = step_match.step_definition
|
27
26
|
unless step_definition.nil? # nil if it's from a scenario outline
|
28
27
|
@step_statistics.record step_definition.regexp_source, @step_duration, file_colon_line
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber_statistics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Ross
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|