turbo_tests2 3.2.7 → 3.2.8
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 +30 -16
- data/README.md +7 -1
- data/lib/turbo_tests/cli.rb +17 -0
- data/lib/turbo_tests/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +14 -14
- 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: ca871e5dbe65758df84b2abc6d7e7260cd3be66f463262083e51f3dd9b914b8f
|
|
4
|
+
data.tar.gz: 40920adda29dd8f5dc77dd1ca41dd2349b18838bc8a661ddddc6f277a8ec3b2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76c25c3e606364c6014377d57c74c270916dee892864d45113483c460ee919dae5da892245268d02e94e3c41d30fd35d787ff97434ec6ffdc109a8d604df73a2
|
|
7
|
+
data.tar.gz: bf173174ef544f7266cbc8488ba9b67cbb3f95c9aa438da45af1991e71f98f53851933bb55ad4840327ba35887058ca4786ca57a41f1a5034e1b21508878e4e8
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,27 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [3.2.8] - 2026-09-11
|
|
34
|
+
|
|
35
|
+
- TAG: [v3.2.8][3.2.8t]
|
|
36
|
+
- COVERAGE: 96.75% -- 892/922 lines in 10 files
|
|
37
|
+
- BRANCH COVERAGE: 84.98% -- 232/273 branches in 10 files
|
|
38
|
+
- 36.73% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- Support TURBO_TESTS2_MAX_PROCESSES as an orchestration process ceiling.
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- [kc] kettle-jem/prepare: updated 8 project files:
|
|
47
|
+
- dependencies (8)
|
|
48
|
+
|
|
49
|
+
- [kc] kettle-jem/template: updated 5 project files:
|
|
50
|
+
- code and tests (1)
|
|
51
|
+
- dependencies (3)
|
|
52
|
+
- other (1)
|
|
53
|
+
|
|
33
54
|
## [3.2.7] - 2026-08-29
|
|
34
55
|
|
|
35
56
|
- TAG: [v3.2.7][3.2.7t]
|
|
@@ -44,23 +65,14 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
44
65
|
|
|
45
66
|
### Changed
|
|
46
67
|
|
|
47
|
-
- [kc] kettle-jem/prepare: updated
|
|
68
|
+
- [kc] kettle-jem/prepare: updated 40 project files:
|
|
48
69
|
- configuration (1)
|
|
49
|
-
- dependencies (
|
|
50
|
-
- other (
|
|
51
|
-
|
|
52
|
-
- [kc] kettle-jem/template: updated 2 project files:
|
|
53
|
-
- dependencies (1)
|
|
54
|
-
- other (1)
|
|
55
|
-
|
|
56
|
-
- [kc] kettle-jem/prepare: updated 10 project files:
|
|
57
|
-
- dependencies (9)
|
|
58
|
-
- other (1)
|
|
59
|
-
|
|
60
|
-
- [kc] kettle-jem/template: updated 4 project files:
|
|
70
|
+
- dependencies (35)
|
|
71
|
+
- other (4)
|
|
72
|
+
- [kc] kettle-jem/template: updated 6 project files:
|
|
61
73
|
- code and tests (1)
|
|
62
|
-
- dependencies (
|
|
63
|
-
- other (
|
|
74
|
+
- dependencies (2)
|
|
75
|
+
- other (2)
|
|
64
76
|
- workflows (1)
|
|
65
77
|
|
|
66
78
|
### Fixed
|
|
@@ -574,7 +586,9 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
574
586
|
|
|
575
587
|
- Initial release
|
|
576
588
|
|
|
577
|
-
[Unreleased]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.
|
|
589
|
+
[Unreleased]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.8...HEAD
|
|
590
|
+
[3.2.8]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.7...v3.2.8
|
|
591
|
+
[3.2.8t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.2.8
|
|
578
592
|
[3.2.7]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.6...v3.2.7
|
|
579
593
|
[3.2.7t]: https://github.com/galtzo-floss/turbo_tests2/releases/tag/v3.2.7
|
|
580
594
|
[3.2.6]: https://github.com/galtzo-floss/turbo_tests2/compare/v3.2.5...v3.2.6
|
data/README.md
CHANGED
|
@@ -316,6 +316,12 @@ streams from the parent process as workers report examples. Use
|
|
|
316
316
|
worker stdout/stderr is handled. A CLI flag takes precedence over the
|
|
317
317
|
environment variable.
|
|
318
318
|
|
|
319
|
+
`TURBO_TESTS2_MAX_PROCESSES=N` supplies a positive inclusive process ceiling
|
|
320
|
+
when neither `--count` nor `--workers` is present. This is intended for an
|
|
321
|
+
outer orchestrator such as `kettle-family`; explicit CLI process counts always
|
|
322
|
+
take precedence. As with `--count`, the runner also caps the actual process
|
|
323
|
+
count at the number of discovered test groups.
|
|
324
|
+
|
|
319
325
|
| Mode | Behavior |
|
|
320
326
|
|------|----------|
|
|
321
327
|
| `warnings` | Default. Buffer raw worker output, print warning/deprecation lines after successful runs, and print full buffered raw output on failures. |
|
|
@@ -769,7 +775,7 @@ Thanks for RTFM. ☺️
|
|
|
769
775
|
[📌gitmoji]: https://gitmoji.dev
|
|
770
776
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
771
777
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
772
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
|
778
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.922-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
773
779
|
[🔐security]: https://github.com/galtzo-floss/turbo_tests2/blob/main/SECURITY.md
|
|
774
780
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
775
781
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
data/lib/turbo_tests/cli.rb
CHANGED
|
@@ -175,6 +175,11 @@ module TurboTests
|
|
|
175
175
|
return TurboTests::Runner.create(count)
|
|
176
176
|
end
|
|
177
177
|
|
|
178
|
+
# Family orchestration supplies an inclusive ceiling for the complete
|
|
179
|
+
# test process pool. A command-line count remains the explicit operator
|
|
180
|
+
# choice, so it always wins over the inherited budget.
|
|
181
|
+
count ||= max_processes_from_environment
|
|
182
|
+
|
|
178
183
|
requires.each { |f| require(f) }
|
|
179
184
|
|
|
180
185
|
if formatters.empty?
|
|
@@ -238,6 +243,18 @@ module TurboTests
|
|
|
238
243
|
]
|
|
239
244
|
end
|
|
240
245
|
|
|
246
|
+
def max_processes_from_environment
|
|
247
|
+
value = ENV.fetch("TURBO_TESTS2_MAX_PROCESSES", "").strip
|
|
248
|
+
return if value.empty?
|
|
249
|
+
|
|
250
|
+
count = Integer(value, 10)
|
|
251
|
+
return count if count.positive?
|
|
252
|
+
|
|
253
|
+
raise OptionParser::InvalidArgument, "invalid TURBO_TESTS2_MAX_PROCESSES #{value.inspect}; expected a positive integer"
|
|
254
|
+
rescue ArgumentError
|
|
255
|
+
raise OptionParser::InvalidArgument, "invalid TURBO_TESTS2_MAX_PROCESSES #{value.inspect}; expected a positive integer"
|
|
256
|
+
end
|
|
257
|
+
|
|
241
258
|
def parse_parallel_args(args, parallel_options)
|
|
242
259
|
OptionParser.new do |opts|
|
|
243
260
|
opts.on("--pattern PATTERN", "Run spec files matching this regex pattern") do |pattern|
|
data/lib/turbo_tests/version.rb
CHANGED
|
@@ -4,7 +4,7 @@ module TurboTests
|
|
|
4
4
|
# Version namespace for this gem.
|
|
5
5
|
module Version
|
|
6
6
|
# Current gem version.
|
|
7
|
-
VERSION = "3.2.
|
|
7
|
+
VERSION = "3.2.8"
|
|
8
8
|
end
|
|
9
9
|
# Current gem version exposed at the traditional constant location.
|
|
10
10
|
VERSION = Version::VERSION # Traditional Constant Location
|
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.2.
|
|
4
|
+
version: 3.2.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Illia
|
|
@@ -108,20 +108,20 @@ dependencies:
|
|
|
108
108
|
requirements:
|
|
109
109
|
- - "~>"
|
|
110
110
|
- !ruby/object:Gem::Version
|
|
111
|
-
version: '3.
|
|
111
|
+
version: '3.1'
|
|
112
112
|
- - ">="
|
|
113
113
|
- !ruby/object:Gem::Version
|
|
114
|
-
version: 3.0
|
|
114
|
+
version: 3.1.0
|
|
115
115
|
type: :development
|
|
116
116
|
prerelease: false
|
|
117
117
|
version_requirements: !ruby/object:Gem::Requirement
|
|
118
118
|
requirements:
|
|
119
119
|
- - "~>"
|
|
120
120
|
- !ruby/object:Gem::Version
|
|
121
|
-
version: '3.
|
|
121
|
+
version: '3.1'
|
|
122
122
|
- - ">="
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: 3.0
|
|
124
|
+
version: 3.1.0
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
126
|
name: bundler-audit
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -199,7 +199,7 @@ dependencies:
|
|
|
199
199
|
version: '3.2'
|
|
200
200
|
- - ">="
|
|
201
201
|
- !ruby/object:Gem::Version
|
|
202
|
-
version: 3.2.
|
|
202
|
+
version: 3.2.3
|
|
203
203
|
type: :development
|
|
204
204
|
prerelease: false
|
|
205
205
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -209,7 +209,7 @@ dependencies:
|
|
|
209
209
|
version: '3.2'
|
|
210
210
|
- - ">="
|
|
211
211
|
- !ruby/object:Gem::Version
|
|
212
|
-
version: 3.2.
|
|
212
|
+
version: 3.2.3
|
|
213
213
|
- !ruby/object:Gem::Dependency
|
|
214
214
|
name: kettle-test
|
|
215
215
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -253,7 +253,7 @@ dependencies:
|
|
|
253
253
|
version: '1.0'
|
|
254
254
|
- - ">="
|
|
255
255
|
- !ruby/object:Gem::Version
|
|
256
|
-
version: 1.0.
|
|
256
|
+
version: 1.0.9
|
|
257
257
|
type: :development
|
|
258
258
|
prerelease: false
|
|
259
259
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -263,7 +263,7 @@ dependencies:
|
|
|
263
263
|
version: '1.0'
|
|
264
264
|
- - ">="
|
|
265
265
|
- !ruby/object:Gem::Version
|
|
266
|
-
version: 1.0.
|
|
266
|
+
version: 1.0.9
|
|
267
267
|
- !ruby/object:Gem::Dependency
|
|
268
268
|
name: gitmoji-regex
|
|
269
269
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -273,7 +273,7 @@ dependencies:
|
|
|
273
273
|
version: '2.0'
|
|
274
274
|
- - ">="
|
|
275
275
|
- !ruby/object:Gem::Version
|
|
276
|
-
version: 2.0.
|
|
276
|
+
version: 2.0.13
|
|
277
277
|
type: :development
|
|
278
278
|
prerelease: false
|
|
279
279
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -283,7 +283,7 @@ dependencies:
|
|
|
283
283
|
version: '2.0'
|
|
284
284
|
- - ">="
|
|
285
285
|
- !ruby/object:Gem::Version
|
|
286
|
-
version: 2.0.
|
|
286
|
+
version: 2.0.13
|
|
287
287
|
description: "\U0001F680 turbo_tests2` is an RSpec parallel test runner built on `parallel_tests`.
|
|
288
288
|
It uses `parallel_tests` for process counts, file grouping, and runtime balancing,
|
|
289
289
|
then replaces interleaved worker output with incremental summarized RSpec reporting.
|
|
@@ -315,10 +315,10 @@ licenses:
|
|
|
315
315
|
- MIT
|
|
316
316
|
metadata:
|
|
317
317
|
homepage_uri: https://turbo-tests2.galtzo.com
|
|
318
|
-
source_code_uri: https://github.com/galtzo-floss/turbo_tests2/tree/v3.2.
|
|
319
|
-
changelog_uri: https://github.com/galtzo-floss/turbo_tests2/blob/v3.2.
|
|
318
|
+
source_code_uri: https://github.com/galtzo-floss/turbo_tests2/tree/v3.2.8
|
|
319
|
+
changelog_uri: https://github.com/galtzo-floss/turbo_tests2/blob/v3.2.8/CHANGELOG.md
|
|
320
320
|
bug_tracker_uri: https://github.com/galtzo-floss/turbo_tests2/issues
|
|
321
|
-
documentation_uri: https://www.rubydoc.info/gems/turbo_tests2/3.2.
|
|
321
|
+
documentation_uri: https://www.rubydoc.info/gems/turbo_tests2/3.2.8
|
|
322
322
|
funding_uri: https://github.com/sponsors/pboling
|
|
323
323
|
wiki_uri: https://github.com/galtzo-floss/turbo_tests2/wiki
|
|
324
324
|
news_uri: https://www.railsbling.com/tags/turbo_tests2
|
metadata.gz.sig
CHANGED
|
Binary file
|