turbo_tests2 3.1.6 → 3.1.7
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +20 -1
- data/README.md +5 -5
- data/lib/turbo_tests/cli.rb +3 -3
- data/lib/turbo_tests/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +21 -19
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e444f1953cfde46e5e7f26987d906fb2defe9a897bc25276976eefcee15e04e7
|
|
4
|
+
data.tar.gz: 23a06d24ba5f7af5b2720da6abcad8b22b45b8500b48256facb6486e30cf4cdf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e965515e3b41e4a9996ba563cb4a3c3c6885d8b0d8b2af925aa3ce499f8225df52faf0364aff49eb25cbeb078d37cbb0ff734034aa64d623e7bdcb9f146d5c71
|
|
7
|
+
data.tar.gz: 2a4aaa4fc5e223bf31009da14996ad5262b7eee2e1b1ff0e61adfe78dad90fdd0c70b86c3e2fbc2b3da86ba60ce6d732b39fabb96a587aee9e7599c128b4e2cc
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,23 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [3.1.7] - 2026-07-11
|
|
34
|
+
|
|
35
|
+
- TAG: [v3.1.7][3.1.7t]
|
|
36
|
+
- COVERAGE: 97.40% -- 636/653 lines in 10 files
|
|
37
|
+
- BRANCH COVERAGE: 89.47% -- 136/152 branches in 10 files
|
|
38
|
+
- 37.08% documented
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- Clarified project metadata, README, and CLI help to describe `turbo_tests2`
|
|
43
|
+
as an RSpec parallel runner built on `parallel_tests`.
|
|
44
|
+
|
|
45
|
+
### Fixed
|
|
46
|
+
|
|
47
|
+
- Fixed generated README metadata backticks around `turbo_tests2` in the
|
|
48
|
+
package description.
|
|
49
|
+
|
|
33
50
|
## [3.1.6] - 2026-07-02
|
|
34
51
|
|
|
35
52
|
- TAG: [v3.1.6][3.1.6t]
|
|
@@ -196,7 +213,9 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
196
213
|
|
|
197
214
|
- Initial release
|
|
198
215
|
|
|
199
|
-
[Unreleased]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.1.
|
|
216
|
+
[Unreleased]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.1.7...HEAD
|
|
217
|
+
[3.1.7]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.1.6...v3.1.7
|
|
218
|
+
[3.1.7t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.1.7
|
|
200
219
|
[3.1.6]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.1.5...v3.1.6
|
|
201
220
|
[3.1.6t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.1.6
|
|
202
221
|
[3.1.5]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.1.4...v3.1.5
|
data/README.md
CHANGED
|
@@ -25,13 +25,13 @@ I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-ta
|
|
|
25
25
|
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
26
26
|
| I ([@pboling](https://github.com/pboling)) discussed merging this project back into the original `turbo_tests` with [@ilyazub](https://github.com/ilyazub), and we might move in that direction, but it will take time. Since I need this now I'm releasing it as a separate gem/project. We'll be discussing potentially unifying the projects again soon. |
|
|
27
27
|
|
|
28
|
-
`turbo_tests2` is
|
|
28
|
+
`turbo_tests2` is an RSpec parallel test runner built on [grosser/parallel_tests](https://github.com/grosser/parallel_tests). It uses `parallel_tests` for process counts, file grouping, and runtime balancing, then replaces interleaved worker output with incremental summarized RSpec reporting. Source code of this gem is based on [Discourse](https://github.com/discourse/discourse/blob/6b9784cf8a18636bce281a7e4d18e65a0cbc6290/lib/turbo_tests.rb) and [RubyGems](https://github.com/rubygems/rubygems/tree/390335ceb351668cd433bd5bb9823dd021f82533/bundler/tool) work in this area.
|
|
29
29
|
|
|
30
|
-
Incremental summarized output doesn't [fit vision](https://github.com/grosser/parallel_tests/issues/708) of `parallel_tests` author and [RSpec doesn't support built-in parallel testing yet](https://github.com/rspec/rspec-rails/issues/2104#issuecomment-658474900). This gem
|
|
30
|
+
Incremental summarized output doesn't [fit the vision](https://github.com/grosser/parallel_tests/issues/708) of the `parallel_tests` author, and [RSpec doesn't support built-in parallel testing yet](https://github.com/rspec/rspec-rails/issues/2104#issuecomment-658474900). This gem targets RSpec, not every framework supported by `parallel_tests`, and may not be useful once one of the issues above is implemented.
|
|
31
31
|
|
|
32
32
|
### Why incremental output?
|
|
33
33
|
|
|
34
|
-
`parallel_tests` is great, but
|
|
34
|
+
`parallel_tests` is great, but parallel RSpec output is hard to read:
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
37
|
|
|
@@ -205,7 +205,7 @@ Options:
|
|
|
205
205
|
--example-status-log FILE Use RSpec example status persistence timings for grouping
|
|
206
206
|
-v, --verbose More output
|
|
207
207
|
--fail-fast=[N]
|
|
208
|
-
--seed SEED Seed for
|
|
208
|
+
--seed SEED Seed for RSpec
|
|
209
209
|
--order ORDER RSpec example order: random (default) or defined
|
|
210
210
|
--no-random Run examples in defined order without passing a seed
|
|
211
211
|
--create Create databases
|
|
@@ -692,7 +692,7 @@ Thanks for RTFM. ☺️
|
|
|
692
692
|
| Field | Value |
|
|
693
693
|
|---|---|
|
|
694
694
|
| Package | turbo_tests2 |
|
|
695
|
-
| Description | 🚀 turbo_tests2` is
|
|
695
|
+
| Description | 🚀 turbo_tests2` is an RSpec parallel test runner built on `parallel_tests`. It uses `parallel_tests` for process counts, file grouping, and runtime balancing, then replaces interleaved worker output with incremental summarized RSpec reporting. Source code of `turbo_test2` gem is based on Discourse and Rubygems work in this area (see README.md). |
|
|
696
696
|
| Homepage | https://github.com/galtzo-floss/turbo_tests2 |
|
|
697
697
|
| Source | https://github.com/galtzo-floss/turbo_tests2 |
|
|
698
698
|
| License | `MIT` |
|
data/lib/turbo_tests/cli.rb
CHANGED
|
@@ -28,9 +28,9 @@ module TurboTests
|
|
|
28
28
|
|
|
29
29
|
OptionParser.new do |opts|
|
|
30
30
|
opts.banner = <<~BANNER
|
|
31
|
-
Run
|
|
31
|
+
Run RSpec files in parallel, giving each process ENV['TEST_ENV_NUMBER'] ('1', '2', '3', ...).
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Uses `parallel_tests` to split files into groups, then reports RSpec results incrementally.
|
|
34
34
|
|
|
35
35
|
Source code of `turbo_tests2` gem is based on Discourse and RubyGems work in this area (see README file of the source repository).
|
|
36
36
|
|
|
@@ -96,7 +96,7 @@ module TurboTests
|
|
|
96
96
|
fail_fast = (n.nil? || n < 1) ? 1 : n
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
-
opts.on("--seed SEED", "Seed for
|
|
99
|
+
opts.on("--seed SEED", "Seed for RSpec") do |s|
|
|
100
100
|
seed = s
|
|
101
101
|
end
|
|
102
102
|
|
data/lib/turbo_tests/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: turbo_tests2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
4
|
+
version: 3.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Illia
|
|
@@ -110,7 +110,7 @@ dependencies:
|
|
|
110
110
|
version: '2.3'
|
|
111
111
|
- - ">="
|
|
112
112
|
- !ruby/object:Gem::Version
|
|
113
|
-
version: 2.3.
|
|
113
|
+
version: 2.3.1
|
|
114
114
|
type: :development
|
|
115
115
|
prerelease: false
|
|
116
116
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -120,7 +120,7 @@ dependencies:
|
|
|
120
120
|
version: '2.3'
|
|
121
121
|
- - ">="
|
|
122
122
|
- !ruby/object:Gem::Version
|
|
123
|
-
version: 2.3.
|
|
123
|
+
version: 2.3.1
|
|
124
124
|
- !ruby/object:Gem::Dependency
|
|
125
125
|
name: bundler-audit
|
|
126
126
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -198,7 +198,7 @@ dependencies:
|
|
|
198
198
|
version: '2.0'
|
|
199
199
|
- - ">="
|
|
200
200
|
- !ruby/object:Gem::Version
|
|
201
|
-
version: 2.0.
|
|
201
|
+
version: 2.0.10
|
|
202
202
|
type: :development
|
|
203
203
|
prerelease: false
|
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -208,7 +208,7 @@ dependencies:
|
|
|
208
208
|
version: '2.0'
|
|
209
209
|
- - ">="
|
|
210
210
|
- !ruby/object:Gem::Version
|
|
211
|
-
version: 2.0.
|
|
211
|
+
version: 2.0.10
|
|
212
212
|
- !ruby/object:Gem::Dependency
|
|
213
213
|
name: ruby-progressbar
|
|
214
214
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -232,7 +232,7 @@ dependencies:
|
|
|
232
232
|
version: '1.0'
|
|
233
233
|
- - ">="
|
|
234
234
|
- !ruby/object:Gem::Version
|
|
235
|
-
version: 1.0.
|
|
235
|
+
version: 1.0.5
|
|
236
236
|
type: :development
|
|
237
237
|
prerelease: false
|
|
238
238
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -242,7 +242,7 @@ dependencies:
|
|
|
242
242
|
version: '1.0'
|
|
243
243
|
- - ">="
|
|
244
244
|
- !ruby/object:Gem::Version
|
|
245
|
-
version: 1.0.
|
|
245
|
+
version: 1.0.5
|
|
246
246
|
- !ruby/object:Gem::Dependency
|
|
247
247
|
name: gitmoji-regex
|
|
248
248
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -252,7 +252,7 @@ dependencies:
|
|
|
252
252
|
version: '2.0'
|
|
253
253
|
- - ">="
|
|
254
254
|
- !ruby/object:Gem::Version
|
|
255
|
-
version: 2.0.
|
|
255
|
+
version: 2.0.4
|
|
256
256
|
type: :development
|
|
257
257
|
prerelease: false
|
|
258
258
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -262,10 +262,12 @@ dependencies:
|
|
|
262
262
|
version: '2.0'
|
|
263
263
|
- - ">="
|
|
264
264
|
- !ruby/object:Gem::Version
|
|
265
|
-
version: 2.0.
|
|
266
|
-
description: "\U0001F680 turbo_tests2` is
|
|
267
|
-
|
|
268
|
-
|
|
265
|
+
version: 2.0.4
|
|
266
|
+
description: "\U0001F680 turbo_tests2` is an RSpec parallel test runner built on `parallel_tests`.
|
|
267
|
+
It uses `parallel_tests` for process counts, file grouping, and runtime balancing,
|
|
268
|
+
then replaces interleaved worker output with incremental summarized RSpec reporting.
|
|
269
|
+
Source code of `turbo_test2` gem is based on Discourse and Rubygems work in this
|
|
270
|
+
area (see README.md)."
|
|
269
271
|
email:
|
|
270
272
|
- floss@galtzo.com
|
|
271
273
|
executables:
|
|
@@ -310,10 +312,10 @@ licenses:
|
|
|
310
312
|
- MIT
|
|
311
313
|
metadata:
|
|
312
314
|
homepage_uri: https://turbo-tests2.galtzo.com
|
|
313
|
-
source_code_uri: https://github.com/galtzo-floss/turbo_tests2/tree/v3.1.
|
|
314
|
-
changelog_uri: https://github.com/galtzo-floss/turbo_tests2/blob/v3.1.
|
|
315
|
+
source_code_uri: https://github.com/galtzo-floss/turbo_tests2/tree/v3.1.7
|
|
316
|
+
changelog_uri: https://github.com/galtzo-floss/turbo_tests2/blob/v3.1.7/CHANGELOG.md
|
|
315
317
|
bug_tracker_uri: https://github.com/galtzo-floss/turbo_tests2/issues
|
|
316
|
-
documentation_uri: https://www.rubydoc.info/gems/turbo_tests2/3.1.
|
|
318
|
+
documentation_uri: https://www.rubydoc.info/gems/turbo_tests2/3.1.7
|
|
317
319
|
funding_uri: https://github.com/sponsors/pboling
|
|
318
320
|
wiki_uri: https://github.com/galtzo-floss/turbo_tests2/wiki
|
|
319
321
|
news_uri: https://www.railsbling.com/tags/turbo_tests2
|
|
@@ -321,8 +323,8 @@ metadata:
|
|
|
321
323
|
rubygems_mfa_required: 'true'
|
|
322
324
|
rdoc_options:
|
|
323
325
|
- "--title"
|
|
324
|
-
- "turbo_tests2 - \U0001F680
|
|
325
|
-
|
|
326
|
+
- "turbo_tests2 - \U0001F680 RSpec parallel test runner built on `parallel_tests`,
|
|
327
|
+
with incremental summarized output"
|
|
326
328
|
- "--main"
|
|
327
329
|
- README.md
|
|
328
330
|
- "--exclude"
|
|
@@ -345,6 +347,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
345
347
|
requirements: []
|
|
346
348
|
rubygems_version: 4.0.10
|
|
347
349
|
specification_version: 4
|
|
348
|
-
summary: "\U0001F680
|
|
349
|
-
|
|
350
|
+
summary: "\U0001F680 RSpec parallel test runner built on `parallel_tests`, with incremental
|
|
351
|
+
summarized output"
|
|
350
352
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|