flatware-cucumber 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +11 -0
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e57bee3ec267db9c1a50a6d499e0f7c042255df9
4
- data.tar.gz: 93b2e602ffffe885154f8d14a1b84ffa24d00a6d
2
+ SHA256:
3
+ metadata.gz: a996ac4f5dfda54ef1f0559fae1c834853fb53462c0c25897de04c805535716c
4
+ data.tar.gz: 16008ba3f593ec6b1285787b8aa9e9933a4c74b29e85acc058fb39a814123b97
5
5
  SHA512:
6
- metadata.gz: ceab1a559a2c45aeff2e53f6b8bdbab0cb8894363611ee73fc18b3367b55d72e1ff62b97814ef25582ce4629c15a0506736300d369accd22f35b8b322265b77b
7
- data.tar.gz: 230f6855909aaa84ca3e8078cd70c6cdc38a6a524204149f6c746c2eabfa39847816166b7af84e1ecc3c6f95e0e6f92be24dd0f13f7bf15a16e8b7f0753ae6d3
6
+ metadata.gz: 5eefc2fbe66d431915b33676bb661e781623fd186f1343db2d11bc580d098e0b3fa74124c6958508ab7d0325be9d0dfea7dffb7aea4cd15d5ed63b107484890d
7
+ data.tar.gz: a48f376ba128ccf09f48b1c8bfd3d57593f9d10e7847a4c78427c2850ddb24390373f324155ce8d3f4f78982b8de04c93f3c57a4e9d2a30a41be19a1cd48ee7a
data/README.md CHANGED
@@ -73,6 +73,17 @@ To run your entire suite with the default rspec options add the `flatware-rspec`
73
73
  $ flatware rspec
74
74
  ```
75
75
 
76
+ The rspec runner can balance worker loads, making your suite even faster.
77
+
78
+ It forms balaced groups of spec files according to their last run times, if you've set `example_status_persistence_file_path` [in your RSpec config](https://relishapp.com/rspec/rspec-core/v/3-8/docs/command-line/only-failures).
79
+
80
+ For this to work the configuration option must be loaded before any specs are run. The `.rspec` file is one way to achive this:
81
+
82
+ --require spec_helper
83
+
84
+ But beware, if you're using ActiveRecord in your suite you'll need to avoid doing things that cause it to establish a database connection in `spec_helper.rb`. If ActiveRecord connects before flatware forks off workers, each will die messily. All of this will just work if you're following [the recomended pattern of splitting your helpers into `spec_helper` and `rails_helper`](https://github.com/rspec/rspec-rails/blob/v3.8.2/lib/generators/rspec/install/templates/spec/rails_helper.rb).
85
+
86
+
76
87
  ### Options
77
88
 
78
89
  If you'd like to limit the number of forked workers, you can pass the 'w' flag:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flatware-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Dunn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-28 00:00:00.000000000 Z
11
+ date: 2019-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flatware
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0
19
+ version: 1.1.0
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: 1.0.0
26
+ version: 1.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: cucumber
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  requirements: []
79
79
  rubyforge_project:
80
- rubygems_version: 2.6.12
80
+ rubygems_version: 2.7.6
81
81
  signing_key:
82
82
  specification_version: 4
83
83
  summary: A distributed cucumber runner