allure-rspec 2.14.3 → 2.14.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a67af7b56e2e3f7366d9d883e12db1dc64ffe7a5fa01d9f6464f6affe6123a31
4
- data.tar.gz: 5ec7cf72e6e09ed6ddd24997a84f3a16260debe808dfdc0e23213f9c01348c02
3
+ metadata.gz: cf8b68a4c8155b9a415505f4437a63c5330474dbf6665924e8d1bfd72f259201
4
+ data.tar.gz: b2453be98fb853c37d81b710ee8222822d4b35f4337e6900de6d3e7cdd6fe047
5
5
  SHA512:
6
- metadata.gz: 790477403e811efe911740818e6fa75c5f71c2e3a823eac8dce560fb72fb94c1ab4a88c7211f5dccbc12467927b7fa2dc5c9b15bf2b43b0847ee9003c6321537
7
- data.tar.gz: a72b62c4e0c66d6946f0ee81fc4a1a96db259c41817d2b7509f2fabe6e5061e3643b9838cb102f13e5b1cc527792668c6f05f896e68199c9ff4c39607b6c1ba0
6
+ metadata.gz: 18ddbc08e8e0ef27c8028db674dab8de42abf4ff7fbfbac6f983da475b4f9381b71cc5a2ff9b2b435386f539adbe3f01bbcbbfbe31d147190b44cb1802211240
7
+ data.tar.gz: 5422483e05a976cf7ecda67f4ccd80beb90f2a189561acf1b5c42ef44cb163b74584db5120f4c98846b0ab4b05db53d49935147f3437fa05d00a010aa5dd4f0f
data/README.md CHANGED
@@ -152,7 +152,23 @@ it "some test case", allure_1: "visual_test", allure_2: "core_functionality" do
152
152
  end
153
153
  ```
154
154
 
155
- All rspec metadata tags will also be added as labels in test report.
155
+ All other metadata tags are also automatically added as labels:
156
+
157
+ ```ruby
158
+ it "some test case", :visual_test, :core_functionality do
159
+ # test
160
+ end
161
+ ```
162
+
163
+ #### Skipping certain tags
164
+
165
+ To skip adding certain tags as labels, following configuration can be added:
166
+
167
+ ```ruby
168
+ AllureRspec.configure do |config|
169
+ config.ignored_tags = [:core_functionality, :generic_metadata_to_ignore]
170
+ end
171
+ ```
156
172
 
157
173
  ### Behavior driven test grouping
158
174
 
@@ -65,36 +65,42 @@ module AllureRspec
65
65
  :severity_tag,
66
66
  :epic_tag,
67
67
  :feature_tag,
68
- :story_tag
68
+ :story_tag,
69
+ :ignored_tags
69
70
 
70
71
  # @return [Symbol]
71
72
  def tms_tag
72
- @tms_prefix || DEFAULT_TMS_TAG
73
+ @tms_tag || DEFAULT_TMS_TAG
73
74
  end
74
75
 
75
76
  # @return [Symbol]
76
77
  def issue_tag
77
- @issue_prefix || DEFAULT_ISSUE_TAG
78
+ @issue_tag || DEFAULT_ISSUE_TAG
78
79
  end
79
80
 
80
81
  # @return [Symbol]
81
82
  def severity_tag
82
- @severity_prefix || DEFAULT_SEVERITY_TAG
83
+ @severity_tag || DEFAULT_SEVERITY_TAG
83
84
  end
84
85
 
85
86
  # @return [Symbol]
86
87
  def epic_tag
87
- @epic_prefix || DEFAULT_EPIC_TAG
88
+ @epic_tag || DEFAULT_EPIC_TAG
88
89
  end
89
90
 
90
91
  # @return [Symbol]
91
92
  def feature_tag
92
- @feature_prefix || DEFAULT_FEATURE_TAG
93
+ @feature_tag || DEFAULT_FEATURE_TAG
93
94
  end
94
95
 
95
96
  # @return [Symbol]
96
97
  def story_tag
97
- @story_prefix || DEFAULT_STORY_TAG
98
+ @story_tag || DEFAULT_STORY_TAG
99
+ end
100
+
101
+ # @return [Array]
102
+ def ignored_tags
103
+ @ignored_tags || []
98
104
  end
99
105
  end
100
106
  end
@@ -157,7 +157,8 @@ module AllureRspec
157
157
  config.severity_tag,
158
158
  config.epic_tag,
159
159
  config.feature_tag,
160
- config.story_tag
160
+ config.story_tag,
161
+ *config.ignored_tags
161
162
  ].include?(key)
162
163
  end
163
164
 
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.14.3
4
+ version: 2.14.4
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-07-24 00:00:00.000000000 Z
11
+ date: 2021-08-18 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.14.3
19
+ version: 2.14.4
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.14.3
26
+ version: 2.14.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-core
29
29
  requirement: !ruby/object:Gem::Requirement