allure-cucumber 2.14.1 → 2.14.2

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: 98ad3f0d2bdf151309fc8ce66bffc89a1fdcc38159bcde6e55c764591a631bcc
4
- data.tar.gz: 36084b12d289dd34d839ccf987116630575663e6d599e6e9e132c399f129a845
3
+ metadata.gz: b9438541aada2cce0de9dae99d3cb6076d95933295ceedc4477509315acfdca0
4
+ data.tar.gz: 4a0eea77be78090e1ead83da3e0df71cf075271a9383a2d60627b054a8cfc80b
5
5
  SHA512:
6
- metadata.gz: 6113e15c4e3a1a3d1f21c8c40777fbd7e52cf5382dc02a2c91f8b4f38c12b4f3fb97d122b657d03a57f78208083c9bddf6224c992710763f736fbe343c27b9dc
7
- data.tar.gz: bca4e3569efb395e4c9e1e893cd4300155cd06e2c2a35e92ef8b2735d69a6beb665daa9a4f668cc9cf0d7645c1c734e5b0ad76cf9ced22a114ad5840f3f4e403
6
+ metadata.gz: 1e989b3eca792cc8c3fd53715859fef41778408718612f33024906b35c8ff716cce326302cb8997d3bad735e46c95c123b5eb53cd8b2e4524024054e3d5263cd
7
+ data.tar.gz: af057de6498e1239e8f8da8b89cc532643a7f30543bfa9e6feb3faa23deafbcf401dd25a32290aecab50e24bb8137c95ea86fbd5fb6e6ef693ffc901601a03a4
data/README.md CHANGED
@@ -52,6 +52,14 @@ AllureCucumber.configure do |config|
52
52
  # these are used for creating links to bugs or test cases where {} is replaced with keys of relevant items
53
53
  config.link_tms_pattern = "http://www.jira.com/browse/{}"
54
54
  config.link_issue_pattern = "http://www.jira.com/browse/{}"
55
+
56
+ # additional metadata
57
+ # environment.properties
58
+ config.environment_properties = {
59
+ custom_attribute: "foo"
60
+ }
61
+ # categories.json
62
+ config.categories = File.new("my_custom_categories.json")
55
63
  end
56
64
  ```
57
65
 
@@ -50,7 +50,11 @@ module AllureCucumber
50
50
  :results_directory,
51
51
  :results_directory=,
52
52
  :environment,
53
- :environment=
53
+ :environment=,
54
+ :environment_properties,
55
+ :environment_properties=,
56
+ :categories,
57
+ :categories=
54
58
 
55
59
  attr_writer :tms_prefix,
56
60
  :issue_prefix,
@@ -41,6 +41,8 @@ module AllureCucumber
41
41
  # @return [void]
42
42
  def on_test_run_started(_event)
43
43
  lifecycle.clean_results_dir
44
+ lifecycle.write_environment
45
+ lifecycle.write_categories
44
46
  end
45
47
 
46
48
  # Handle test case started event
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allure-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.1
4
+ version: 2.14.2
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-06-10 00:00:00.000000000 Z
11
+ date: 2021-07-14 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.1
19
+ version: 2.14.2
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.1
26
+ version: 2.14.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: cucumber
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
- rubygems_version: 3.2.15
85
+ rubygems_version: 3.2.22
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Allure cucumber ruby adaptor