knapsack_pro 7.8.1 → 7.9.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/CHANGELOG.md +16 -0
- data/lib/knapsack_pro/runners/queue/base_runner.rb +1 -0
- data/lib/knapsack_pro/test_case_detectors/rspec_test_example_detector.rb +1 -0
- data/lib/knapsack_pro/version.rb +1 -1
- data/spec/integration/runners/queue/rspec_runner_spec.rb +2 -10
- data/spec/knapsack_pro/test_case_detectors/rspec_test_example_detector_spec.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d625a03b86be895a8b0250cc4bc19e9a3a53065f99d05266e1a2a3a09c8e115
|
4
|
+
data.tar.gz: b89c5d69fd4330ff4bec30c5a44a37d4bc6a6622743e75044aafcfaae13b5a4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f30db8ff8c5f391814991fc565036b35c416f2c2015d48e9385ad2bd8b2dbd242867817df03fcd053b152c31b2e142da07f50069251b0a586dc6ef572833b05a
|
7
|
+
data.tar.gz: 285de6eab1d7fb36c457ca3361748208064bcbfe6cf937a37cc6997b2c1334e121545072ffab7cfc2096ef877837faa0f5c70930d35dca29c80a880add04c5d7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
### 7.9.0
|
4
|
+
|
5
|
+
* A more readable error message for the RSpec split by examples JSON report (remove ANSI codes that are not human-readable)
|
6
|
+
|
7
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/pull/275
|
8
|
+
|
9
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v7.8.2...v7.9.0
|
10
|
+
|
11
|
+
### 7.8.2
|
12
|
+
|
13
|
+
* Set `RSpec.world.wants_to_quit` to true when any signal is received by the knapsack_pro gem to allow graceful exit.
|
14
|
+
|
15
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/pull/273
|
16
|
+
|
17
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v7.8.1...v7.8.2
|
18
|
+
|
3
19
|
### 7.8.1
|
4
20
|
|
5
21
|
* Handle `nil` in `Thread#backtrace` and `Exception#backtrace`.
|
data/lib/knapsack_pro/version.rb
CHANGED
@@ -1383,8 +1383,8 @@ describe "#{KnapsackPro::Runners::Queue::RSpecRunner} - Integration tests", :cle
|
|
1383
1383
|
expect(actual.stdout).to include('B1.1.1 test example (PENDING: Temporarily skipped with xit)')
|
1384
1384
|
expect(actual.stdout).to include('INT signal has been received. Terminating Knapsack Pro...')
|
1385
1385
|
expect(actual.stdout).to include('B1.1.2 test example')
|
1386
|
-
expect(actual.stdout).
|
1387
|
-
expect(actual.stdout).
|
1386
|
+
expect(actual.stdout).to_not include('B1.1.3 test example (FAILED - 1)')
|
1387
|
+
expect(actual.stdout).to_not include('B1.2.1 test example')
|
1388
1388
|
|
1389
1389
|
# next ExampleGroup within the same b_spec.rb is not executed
|
1390
1390
|
expect(actual.stdout).to_not include('B2.1 test example')
|
@@ -1404,14 +1404,6 @@ describe "#{KnapsackPro::Runners::Queue::RSpecRunner} - Integration tests", :cle
|
|
1404
1404
|
OUTPUT
|
1405
1405
|
)
|
1406
1406
|
|
1407
|
-
expect(actual.stdout).to include(
|
1408
|
-
<<~OUTPUT
|
1409
|
-
Failures:
|
1410
|
-
|
1411
|
-
1) B1_describe B1.1_describe B1.1.3 test example
|
1412
|
-
OUTPUT
|
1413
|
-
)
|
1414
|
-
|
1415
1407
|
|
1416
1408
|
expect(actual.stdout).to include('Use the following backtrace(s) to find the line of code that got stuck if the CI node hung and terminated your tests.')
|
1417
1409
|
expect(actual.stdout).to include('Main thread backtrace:')
|
@@ -48,6 +48,7 @@ describe KnapsackPro::TestCaseDetectors::RSpecTestExampleDetector do
|
|
48
48
|
expect(RSpec::Core::ConfigurationOptions).to receive(:new).with([
|
49
49
|
'--format', expected_format,
|
50
50
|
'--dry-run',
|
51
|
+
'--no-color',
|
51
52
|
'--out', report_path,
|
52
53
|
'--default-path', test_dir,
|
53
54
|
'spec/a_spec.rb', 'spec/b_spec.rb',
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knapsack_pro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ArturT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -415,7 +415,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
415
415
|
- !ruby/object:Gem::Version
|
416
416
|
version: '0'
|
417
417
|
requirements: []
|
418
|
-
rubygems_version: 3.5.
|
418
|
+
rubygems_version: 3.5.11
|
419
419
|
signing_key:
|
420
420
|
specification_version: 4
|
421
421
|
summary: Knapsack Pro splits tests across parallel CI nodes and ensures each parallel
|