knapsack 1.13.1 → 1.13.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +8 -0
- data/lib/knapsack/allocator.rb +4 -1
- data/lib/knapsack/version.rb +1 -1
- data/spec/knapsack/allocator_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca381a35887a4f7778e1c4970639918277aea4ea
|
4
|
+
data.tar.gz: 3447ee491b44873f374b784db69f4904d39eef40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b56704853c9fbd56bb63200d0973b990f73051c06a8521b24c9269dcb25625cbae8dac9d1b538636711ebef596e5f45f72442db421b65fb5dff5c0e556d49e44
|
7
|
+
data.tar.gz: 04dacdc1f6bf7e3f11d7a8f81f0b5ff81c398bdf5d1499c44a1a3f88748019f881699af04005da3b3bdce75f4070ed92c2646c765fba8353ac590c8a9d15bb8d
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
|
3
3
|
* TODO
|
4
4
|
|
5
|
+
### 1.13.2
|
6
|
+
|
7
|
+
* Add support for test files in directory with spaces.
|
8
|
+
|
9
|
+
Related:
|
10
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/issues/27
|
11
|
+
|
12
|
+
https://github.com/ArturT/knapsack/compare/v1.13.1...v1.13.2
|
13
|
+
|
5
14
|
### 1.13.1
|
6
15
|
|
7
16
|
* Fix: Get rid of call #zero? method on $?.exitstatus in test runners tasks
|
data/README.md
CHANGED
@@ -36,11 +36,19 @@ The knapsack gem supports:
|
|
36
36
|
|
37
37
|
| Feature | knapsack gem | knapsack_pro gem
|
38
38
|
| --- | :---: | :---:
|
39
|
+
| Queue mode designed for most optimal dynamic test suite split | ✘ | ✔
|
39
40
|
| Test suite split based on tests time execution | ✔ | ✔
|
40
41
|
| Automated tests time execution recording | ✘ | ✔
|
41
42
|
| Test suite split based on most up to date tests time execution data | ✘ | ✔
|
42
43
|
| [Show all features](https://knapsackpro.com/features?utm_source=github&utm_medium=readme&utm_campaign=knapsack_gem&utm_content=show_all_features) | |
|
43
44
|
|
45
|
+
How knapsack_pro makes my life easier as opposed to regular knapsack gem?
|
46
|
+
|
47
|
+
* The knapsack_pro version has queue mode designed for most optimal test suite split thanks to dynamic tests allocation.
|
48
|
+
* With the knapsack_pro version the setup and the ongoing work is easier because you don’t have to manually generate knapsack json report with test files time execution for each test suite like rspec, cucumber etc.
|
49
|
+
* The knapsack_pro version tracks all you branches so when your test code changes the knapsack_pro tries to provide you as optimal test suite split as possible.
|
50
|
+
* When your test codebase changes over time you need to manually generate a new knapsack report in free gem version which is extra overhead and waste of time of the developer.
|
51
|
+
|
44
52
|
**Would you like to try [knapsack_pro gem](https://github.com/KnapsackPro/knapsack_pro-ruby) with more features and free access for early users? Please [visit Knapsack Pro](http://knapsackpro.com?utm_source=github&utm_medium=readme&utm_campaign=knapsack_gem&utm_content=try_knapsack_pro).**
|
45
53
|
|
46
54
|
### Presentations about knapsack gem
|
data/lib/knapsack/allocator.rb
CHANGED
data/lib/knapsack/version.rb
CHANGED
@@ -39,7 +39,7 @@ describe Knapsack::Allocator do
|
|
39
39
|
|
40
40
|
describe '#stringify_node_tests' do
|
41
41
|
subject { allocator.stringify_node_tests }
|
42
|
-
it { should eql
|
42
|
+
it { should eql %{"a_spec.rb" "b_spec.rb" "c_spec.rb" "d_spec.rb"} }
|
43
43
|
end
|
44
44
|
|
45
45
|
describe '#test_dir' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knapsack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.13.
|
4
|
+
version: 1.13.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ArturT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
284
284
|
version: '0'
|
285
285
|
requirements: []
|
286
286
|
rubyforge_project:
|
287
|
-
rubygems_version: 2.
|
287
|
+
rubygems_version: 2.6.8
|
288
288
|
signing_key:
|
289
289
|
specification_version: 4
|
290
290
|
summary: Knapsack splits tests across CI nodes and makes sure that tests will run
|