allure-rspec 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 +4 -4
- data/README.md +19 -11
- data/lib/allure_rspec/config.rb +5 -1
- data/lib/allure_rspec/formatter.rb +2 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebcd6e6c81d696779c9303a84b80d3264469f93618c9876f2fa9fc03be6d8637
|
4
|
+
data.tar.gz: bbe73782f89fe4819b2ba9612960da4de067a5c0762db71df8c77667ba00d8dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 989e664938fbcbb496181c09e597d355b718349ba3ee114b88f3cee57f564f3302b06c5aa8e0862966110edca662b2f86da3ace00df08624ff22d6f64a2ed5c2
|
7
|
+
data.tar.gz: d3d7a4a7f547485edc79124172b69aa7e2eb815345bff4263048b0f6455625469686b5f6d52f20273c06f952a11c0176c5f46ef655dcf5cb43ba743369dca190
|
data/README.md
CHANGED
@@ -23,17 +23,25 @@ require "allure-rspec"
|
|
23
23
|
Following configuration options are supported:
|
24
24
|
|
25
25
|
```ruby
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
26
|
+
AllureRspec.configure do |config|
|
27
|
+
config.results_directory = "report/allure-results"
|
28
|
+
config.clean_results_directory = true
|
29
|
+
config.logging_level = Logger::INFO
|
30
|
+
config.logger = Logger.new($stdout, Logger::DEBUG)
|
31
|
+
config.environment = "staging"
|
32
|
+
|
33
|
+
# these are used for creating links to bugs or test cases where {} is replaced with keys of relevant items
|
34
|
+
config.link_tms_pattern = "http://www.jira.com/browse/{}"
|
35
|
+
config.link_issue_pattern = "http://www.jira.com/browse/{}"
|
36
|
+
|
37
|
+
# additional metadata
|
38
|
+
# environment.properties
|
39
|
+
config.environment_properties = {
|
40
|
+
custom_attribute: "foo"
|
41
|
+
}
|
42
|
+
# categories.json
|
43
|
+
config.categories = File.new("my_custom_categories.json")
|
44
|
+
end
|
37
45
|
```
|
38
46
|
|
39
47
|
## Usage
|
data/lib/allure_rspec/config.rb
CHANGED
@@ -50,7 +50,11 @@ module AllureRspec
|
|
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
|
def initialize
|
56
60
|
@allure_config = Allure.configuration
|
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.
|
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-
|
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.
|
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.
|
26
|
+
version: 2.14.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
|
-
rubygems_version: 3.2.
|
84
|
+
rubygems_version: 3.2.22
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Allure rspec ruby adaptor
|