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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2189a996558a44b4d0453251e6a3e96ba0b54016
4
- data.tar.gz: c41de6015ae95d6b61c662a80a894426b9296e63
3
+ metadata.gz: d70037a076143f16c44932184024e2ceb3ed0427
4
+ data.tar.gz: aa770c77f09aca76f06623259eef050984e6f976
5
5
  SHA512:
6
- metadata.gz: d65a0867543561e731fbb2737d8d65b55a2321068888487fbf61e398ddeccdabfd0ebe7c156f361edfccb0674aec9daef82120286ba04332a951437b40cab0b3
7
- data.tar.gz: 2b28fd345ad819625f404cb3052795fbb7fba3644db205aed05bf5a95c61581881f5e38e05098d75a78ef60effa2b61e4ebb2de8956098f7f1c491e09498327c
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
- bundle exec rspec --fail-fast=3 --format documentation --format json --out /home/<user>/rspec_report.json <file_list>
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
- # rubocop:disable LineLength
29
- @rspec_options ||= "#{ENV["TB_RSPEC_OPTIONS"]} --format documentation --require #{formatter_path} --format SemaphoreFormatter --out #{report_path}"
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
@@ -1,3 +1,3 @@
1
1
  module TestBoosters
2
- VERSION = "2.2.4".freeze
2
+ VERSION = "2.3.0".freeze
3
3
  end
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.2.4
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-04-11 00:00:00.000000000 Z
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