allure-rspec 2.14.5 → 2.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/allure_rspec/formatter.rb +8 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e6c5bb377f6a90b6ef4d6927421c61f6a273d160fbf6ff571e34fc8826cc62a
|
4
|
+
data.tar.gz: b32ba8c7ab41c07aa02a6ff0d4f4285ef1bbaffd37a15857176ac651cb333138
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a37fcab764248deb65cfff370cb92d4b3bc16c7cbda92487faf593aca77e62401f1aa094df659e1c1c075333ab982709e53c26f343b12fb7b9244bb41eda69b5
|
7
|
+
data.tar.gz: 1fd4ffd1c21d2a575a2bdd9925e71f08c18bed8ab7668558456ac754c0e5e22b7e6ffac5bbfb9b5f2eb93570d7de1117d886fd9f3d90b940650c70d611d65107
|
@@ -19,6 +19,7 @@ module AllureRspec
|
|
19
19
|
RSpec::Core::Formatters.register(
|
20
20
|
self,
|
21
21
|
:start,
|
22
|
+
:stop,
|
22
23
|
:example_group_started,
|
23
24
|
:example_group_finished,
|
24
25
|
:example_started,
|
@@ -45,7 +46,6 @@ module AllureRspec
|
|
45
46
|
# @return [void]
|
46
47
|
def start(_start_notification)
|
47
48
|
lifecycle.clean_results_dir
|
48
|
-
lifecycle.write_environment
|
49
49
|
lifecycle.write_categories
|
50
50
|
|
51
51
|
RSpec::Core::Example.class_eval do
|
@@ -53,6 +53,13 @@ module AllureRspec
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
+
# Start test run
|
57
|
+
# @param [RSpec::Core::Notifications::StopNotification] _stop_notification
|
58
|
+
# @return [void]
|
59
|
+
def stop(_stop_notification)
|
60
|
+
lifecycle.write_environment
|
61
|
+
end
|
62
|
+
|
56
63
|
# Starts example group
|
57
64
|
# @param [RSpec::Core::Notifications::GroupNotification] example_group_notification
|
58
65
|
# @return [void]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allure-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrejs Cunskis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: allure-ruby-commons
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.15.0
|
20
20
|
type: :runtime
|
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: 2.
|
26
|
+
version: 2.15.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|