knapsack 1.12.0 → 1.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +16 -8
- data/lib/knapsack/runners/cucumber_runner.rb +1 -1
- data/lib/knapsack/runners/spinach_runner.rb +1 -1
- data/lib/knapsack/version.rb +1 -1
- data/test_examples/fast/shared_examples_test.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 653d9e7ac72466dc9713aeee4d5b42af3e0f065a
|
4
|
+
data.tar.gz: d67c45587bae5c80ea6ea74761918f8c4247a8d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 343c3e23963c1d81159394870f4b18237ac31c55fe6cf01e27146479f71e019c99a49149934ec00c9d10b425180b8d370eb6bf2df9c6960bde5b5f0d2dbf2799
|
7
|
+
data.tar.gz: 711f1ea47f5c2b657727b3ae2d722f459ba35efe8729e73d9e8f57995c1c3c1f88a5ea2d56092d27066fa6b8f650b7101c2c6fb3d1ad077ccbecbcb3ee37684d
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
* TODO
|
4
4
|
|
5
|
+
### 1.12.1
|
6
|
+
|
7
|
+
* Cucumber and Spinach should load files from proper folder in case when you use custom test directory.
|
8
|
+
|
9
|
+
https://github.com/ArturT/knapsack/compare/v1.12.0...v1.12.1
|
10
|
+
|
5
11
|
### 1.12.0
|
6
12
|
|
7
13
|
* Add support for Minitest::SharedExamples
|
data/README.md
CHANGED
@@ -16,13 +16,6 @@
|
|
16
16
|
|
17
17
|
Parallel tests across CI server nodes based on each test file's time execution. Knapsack generates a test time execution report and uses it for future test runs.
|
18
18
|
|
19
|
-
Presentations about gem:
|
20
|
-
|
21
|
-
* [X 2014 Kraków Ruby User Group](http://slides.com/arturt/parallel-tests-in-comparable-time)
|
22
|
-
* [VII 2014 Lunar Logic Dev Meeting](http://slides.com/arturt/knapsack)
|
23
|
-
|
24
|
-
**Would you like to try [knapsack_pro gem](https://github.com/KnapsackPro/knapsack_pro-ruby) with more features and free access for beta users? Please [visit Knapsack Pro](http://knapsackpro.com).**
|
25
|
-
|
26
19
|
### Without Knapsack
|
27
20
|
|
28
21
|
![Without Knapsack gem](docs/images/without_knapsack.png)
|
@@ -31,6 +24,21 @@ Presentations about gem:
|
|
31
24
|
|
32
25
|
![With Knapsack gem](docs/images/with_knapsack.png)
|
33
26
|
|
27
|
+
### Features
|
28
|
+
|
29
|
+
| Feature | knapsack gem | knapsack_pro gem
|
30
|
+
| --- | :---: | :---:
|
31
|
+
| Test suite split based on tests time execution | ✔ | ✔
|
32
|
+
| Automated tests time execution recording | ✘ | ✔
|
33
|
+
| Test suite split based on most up to date tests time execution data | ✘ | ✔
|
34
|
+
| [Show all features](https://knapsackpro.com/features?utm_source=github&utm_medium=readme&utm_campaign=knapsack_gem&utm_content=show_all_features) | |
|
35
|
+
|
36
|
+
**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).**
|
37
|
+
|
38
|
+
### Presentations about knapsack gem
|
39
|
+
|
40
|
+
* [X 2014 Kraków Ruby User Group](http://slides.com/arturt/parallel-tests-in-comparable-time)
|
41
|
+
* [VII 2014 Lunar Logic Dev Meeting](http://slides.com/arturt/knapsack)
|
34
42
|
|
35
43
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
36
44
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
@@ -591,7 +599,7 @@ If you want to regenerate report take a look [here](#common-step).
|
|
591
599
|
|
592
600
|
`KNAPSACK_GENERATE_REPORT=true bundle exec rspec spec`
|
593
601
|
|
594
|
-
If you run command like this on your development machine then test suite time execution might be different than if you generate a report on CI machine (for instance tests might be faster on your machine then on CI node) so that might be a reason why you see warning about regenerating report. You can generate the report on single CI node which should give you result specific for your CI node instead of your development machine. In case you don't want to bother about manually regenerating knapsack report please take a look on [knapsack_pro gem](http://knapsackpro.com).
|
602
|
+
If you run command like this on your development machine then test suite time execution might be different than if you generate a report on CI machine (for instance tests might be faster on your machine then on CI node) so that might be a reason why you see warning about regenerating report. You can generate the report on single CI node which should give you result specific for your CI node instead of your development machine. In case you don't want to bother about manually regenerating knapsack report please take a look on [knapsack_pro gem](http://knapsackpro.com?utm_source=github&utm_medium=readme&utm_campaign=knapsack_gem&utm_content=no_manual_report).
|
595
603
|
|
596
604
|
### What does "leftover specs" mean?
|
597
605
|
|
@@ -12,7 +12,7 @@ module Knapsack
|
|
12
12
|
Knapsack.logger.info allocator.leftover_node_tests
|
13
13
|
Knapsack.logger.info
|
14
14
|
|
15
|
-
cmd = %Q[bundle exec cucumber #{args} -- #{allocator.stringify_node_tests}]
|
15
|
+
cmd = %Q[bundle exec cucumber #{args} --require #{allocator.test_dir} -- #{allocator.stringify_node_tests}]
|
16
16
|
|
17
17
|
system(cmd)
|
18
18
|
exit($?.exitstatus) unless $?.exitstatus.zero?
|
@@ -12,7 +12,7 @@ module Knapsack
|
|
12
12
|
Knapsack.logger.info allocator.leftover_node_tests
|
13
13
|
Knapsack.logger.info
|
14
14
|
|
15
|
-
cmd = %Q[bundle exec spinach #{args} -- #{allocator.stringify_node_tests}]
|
15
|
+
cmd = %Q[bundle exec spinach #{args} --features_path #{allocator.test_dir} -- #{allocator.stringify_node_tests}]
|
16
16
|
|
17
17
|
system(cmd)
|
18
18
|
exit($?.exitstatus) unless $?.exitstatus.zero?
|
data/lib/knapsack/version.rb
CHANGED
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.12.
|
4
|
+
version: 1.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ArturT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|