allure-rspec 2.13.6.4 → 2.13.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/allure_rspec/formatter.rb +10 -0
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3769f14ee1972fb068c8a0d037076d3bb2f8df26d4c876411d9eb764c372dab8
4
- data.tar.gz: 89d1e2e93736b3e3b445403ea5070ed638cad7c3cf3e71cdd5d6233f7bf115bb
3
+ metadata.gz: d3d01d32d52ecc3dbbe630d102c7d92afda7a84f45521fbca4de428b15c97765
4
+ data.tar.gz: ff731f4368d3673b4f12200e3b6776f2fe0768c61718e6f3d9137056c703254f
5
5
  SHA512:
6
- metadata.gz: c20e8e4512cffa9fea345bf7e5850ac79953e80f8f250f9bf098ebd03ad67aa37daa85ef986406ed6baa6f03a1552d0923482e1d0a1f5894aa511f73e1effeca
7
- data.tar.gz: 22e58bcd59ec06da9f4e26840e83a8c2e6a5733dd10610cb23afead898b97160786dd05c966c89d3afbce495d86e8e419b2852443e1dfe7bd1716522da51baba
6
+ metadata.gz: 412aa95833add6f1279d02e55b1d8bff3ed94410f4021e43868c03d44d49a16fc12ac521b785518e86bb669c502efc1a94213dc56ee71895092533154a6cd3aa
7
+ data.tar.gz: 01e926ba4c1a251f86716cd51fb3d55c1a53648e2daeb90db2614b467cc2a8e2e107119657c8df352af44c9b324273409ba58a7d9ce03eeaccfaa41b4d867076
@@ -27,6 +27,16 @@ module AllureRspec
27
27
  end
28
28
  end
29
29
 
30
+ RSpec.configure do |config|
31
+ Allure.configure do |allure_config|
32
+ ids = allure_config.test_ids
33
+ names = allure_config.test_names
34
+
35
+ config.filter_run_when_matching(*ids.map { |id| { allure_id: id } }) if ids
36
+ config.full_description = names if names
37
+ end
38
+ end
39
+
30
40
  # Start test run
31
41
  # @param [RSpec::Core::Notifications::StartNotification] _start_notification
32
42
  # @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.13.6.4
4
+ version: 2.13.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrejs Cunskis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-27 00:00:00.000000000 Z
11
+ date: 2020-11-26 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.13.6.4
19
+ version: 2.13.7
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.13.6.4
26
+ version: 2.13.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-core
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubygems_version: 3.1.2
97
+ rubygems_version: 3.1.4
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Allure rspec ruby adaptor