semaphore_test_boosters 2.2.4 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/lib/test_boosters/boosters/rspec.rb +5 -2
- data/lib/test_boosters/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d70037a076143f16c44932184024e2ceb3ed0427
|
4
|
+
data.tar.gz: aa770c77f09aca76f06623259eef050984e6f976
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af427f5ab5600f36d6585ab5d489e89f3b39ff17d44196de79ab4f62f86f4605c34209bccab3c94efda0640e7b814aea329ac8fdb178af61de7ee0213eaa3acd
|
7
|
+
data.tar.gz: 3b91331e8ea04177775a8631dc9d6e55783fb555a711242e634e4262ce83e792d39fbc8b0c54932d95724ee80753edf4133145db24e3e20ed35e11539fe58839
|
data/README.md
CHANGED
@@ -122,16 +122,16 @@ bundle exec rspec --format documentation --format json --out /home/<user>/rspec_
|
|
122
122
|
```
|
123
123
|
|
124
124
|
Optionally, you can pass additional RSpec flags with the `TB_RSPEC_OPTIONS`
|
125
|
-
environment variable
|
125
|
+
environment variable. You can also set a RSpec formatter with the `TB_RSPEC_FORMATTER` environment variable.
|
126
|
+
Default formatter is `documentation`.
|
126
127
|
|
127
|
-
``` bash
|
128
|
-
TB_RSPEC_OPTIONS='--fail-fast=3' rspec_booster --job 4/32
|
129
|
-
```
|
130
|
-
|
131
|
-
The above command will execute:
|
132
128
|
|
129
|
+
Example:
|
133
130
|
``` bash
|
134
|
-
|
131
|
+
TB_RSPEC_OPTIONS='--fail-fast=3' TB_RSPEC_FORMATTER=Fivemat rspec_booster --job 4/32
|
132
|
+
|
133
|
+
# will execute:
|
134
|
+
bundle exec rspec --fail-fast=3 --format Fivemat --format json --out /home/<user>/rspec_report.json <file_list>
|
135
135
|
```
|
136
136
|
|
137
137
|
## Cucumber Booster
|
@@ -25,8 +25,11 @@ module TestBoosters
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def rspec_options
|
28
|
-
|
29
|
-
|
28
|
+
@rspec_options ||= begin
|
29
|
+
output_formatter = ENV.fetch("TB_RSPEC_FORMATTER", "documentation")
|
30
|
+
# rubocop:disable LineLength
|
31
|
+
"#{ENV["TB_RSPEC_OPTIONS"]} --format #{output_formatter} --require #{formatter_path} --format SemaphoreFormatter --out #{report_path}"
|
32
|
+
end
|
30
33
|
end
|
31
34
|
|
32
35
|
def report_path
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semaphore_test_boosters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Developers at Rendered Text
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: semaphore_cucumber_booster_config
|