pairwise_psych 0.2.4 → 0.2.5
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 +5 -5
- data/README.md +1 -1
- data/lib/version.rb +1 -1
- data/spec/pairwise/cli_spec.rb +1 -1
- data/spec/pairwise_spec.rb +9 -9
- metadata +22 -26
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a7c993fc06c4a037ca2da4e80ff3b33b266b11881ee3dcca7f9388355f63a218
|
|
4
|
+
data.tar.gz: b600f2f9ffe009fe131af93828aefee9ee52376fd73b563ff87ee1ba373b5b9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6730abd5905a7364d0a4c9b9ca3d443f0fbe71bf1734f94b45bc346942f9e91fa50f29aec123439039d99065b127e6ceecd43fdf48a1d8929db5653da5fb7181
|
|
7
|
+
data.tar.gz: 7f3c2d2f26dab3a1a0114d6257b397f8a25afba50a48da67ce37b8fd5b9939df3d62b96c2ae5358195d43f5f030a2792efad4b9e8c0f4d131d01b14117f525fe
|
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@ rather than exhaustively testing all possible permutations.
|
|
|
6
6
|
|
|
7
7
|
Created by Joseph Wilks, updated by Ali King for newer Rubies
|
|
8
8
|
|
|
9
|
-
How to use Pairwise: http://
|
|
9
|
+
How to use Pairwise: [http://josephwilk/pairwise/wiki](https://github.com/josephwilk/pairwise/wiki#pairwise-resources)
|
|
10
10
|
|
|
11
11
|
Newer Rubies and Syck vs Psych
|
|
12
12
|
-----------
|
data/lib/version.rb
CHANGED
data/spec/pairwise/cli_spec.rb
CHANGED
data/spec/pairwise_spec.rb
CHANGED
|
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
|
2
2
|
|
|
3
3
|
describe Pairwise do
|
|
4
4
|
before(:each) do
|
|
5
|
-
Kernel.
|
|
5
|
+
allow(Kernel).to receive(:rand).and_return(0)
|
|
6
6
|
end
|
|
7
7
|
|
|
8
8
|
context "with invalid inputs" do
|
|
@@ -106,14 +106,14 @@ describe Pairwise do
|
|
|
106
106
|
it "should generate pairs for 2 parameters of 3,2,3 values" do
|
|
107
107
|
Pairwise.combinations([:A1, :A2, :A3],
|
|
108
108
|
[:B1, :B2],
|
|
109
|
-
[:C1, :C2, :C3]).should == [[:A1, :B1, :C1],
|
|
110
|
-
[:A1, :B2, :C3],
|
|
111
|
-
[:A2, :B1, :C3],
|
|
112
|
-
[:A2, :B2, :C2],
|
|
113
|
-
[:A3, :B1, :C2],
|
|
114
|
-
[:A3, :B2, :C1],
|
|
115
|
-
[:A2, :B1, :C1],
|
|
116
|
-
[:A1, :B1, :C2],
|
|
109
|
+
[:C1, :C2, :C3]).should == [[:A1, :B1, :C1],
|
|
110
|
+
[:A1, :B2, :C3],
|
|
111
|
+
[:A2, :B1, :C3],
|
|
112
|
+
[:A2, :B2, :C2],
|
|
113
|
+
[:A3, :B1, :C2],
|
|
114
|
+
[:A3, :B2, :C1],
|
|
115
|
+
[:A2, :B1, :C1],
|
|
116
|
+
[:A1, :B1, :C2],
|
|
117
117
|
[:A3, :B1, :C3]]
|
|
118
118
|
end
|
|
119
119
|
end
|
metadata
CHANGED
|
@@ -1,56 +1,55 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pairwise_psych
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joseph Wilk
|
|
8
8
|
- Ali King
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: unicode-display_width
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
16
|
requirements:
|
|
18
|
-
- -
|
|
17
|
+
- - ">="
|
|
19
18
|
- !ruby/object:Gem::Version
|
|
20
19
|
version: '0'
|
|
21
20
|
type: :runtime
|
|
22
21
|
prerelease: false
|
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
23
|
requirements:
|
|
25
|
-
- -
|
|
24
|
+
- - ">="
|
|
26
25
|
- !ruby/object:Gem::Version
|
|
27
26
|
version: '0'
|
|
28
27
|
- !ruby/object:Gem::Dependency
|
|
29
28
|
name: rspec
|
|
30
29
|
requirement: !ruby/object:Gem::Requirement
|
|
31
30
|
requirements:
|
|
32
|
-
- -
|
|
31
|
+
- - ">="
|
|
33
32
|
- !ruby/object:Gem::Version
|
|
34
33
|
version: '0'
|
|
35
34
|
type: :development
|
|
36
35
|
prerelease: false
|
|
37
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
38
37
|
requirements:
|
|
39
|
-
- -
|
|
38
|
+
- - ">="
|
|
40
39
|
- !ruby/object:Gem::Version
|
|
41
40
|
version: '0'
|
|
42
41
|
- !ruby/object:Gem::Dependency
|
|
43
42
|
name: cucumber
|
|
44
43
|
requirement: !ruby/object:Gem::Requirement
|
|
45
44
|
requirements:
|
|
46
|
-
- -
|
|
45
|
+
- - ">="
|
|
47
46
|
- !ruby/object:Gem::Version
|
|
48
47
|
version: '0'
|
|
49
48
|
type: :development
|
|
50
49
|
prerelease: false
|
|
51
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
51
|
requirements:
|
|
53
|
-
- -
|
|
52
|
+
- - ">="
|
|
54
53
|
- !ruby/object:Gem::Version
|
|
55
54
|
version: '0'
|
|
56
55
|
description: |-
|
|
@@ -64,47 +63,44 @@ extensions: []
|
|
|
64
63
|
extra_rdoc_files: []
|
|
65
64
|
files:
|
|
66
65
|
- README.md
|
|
66
|
+
- bin/pairwise
|
|
67
67
|
- lib/pairwise.rb
|
|
68
|
+
- lib/pairwise/cli.rb
|
|
69
|
+
- lib/pairwise/formatter.rb
|
|
70
|
+
- lib/pairwise/formatter/csv.rb
|
|
71
|
+
- lib/pairwise/formatter/cucumber.rb
|
|
72
|
+
- lib/pairwise/input_data.rb
|
|
73
|
+
- lib/pairwise/input_file.rb
|
|
74
|
+
- lib/pairwise/ipo.rb
|
|
68
75
|
- lib/pairwise/ipo/horizontal.rb
|
|
69
76
|
- lib/pairwise/ipo/vertical.rb
|
|
70
77
|
- lib/pairwise/pair_collection.rb
|
|
71
|
-
- lib/pairwise/ipo.rb
|
|
72
|
-
- lib/pairwise/input_data.rb
|
|
73
78
|
- lib/pairwise/test_pair.rb
|
|
74
|
-
- lib/pairwise/input_file.rb
|
|
75
|
-
- lib/pairwise/cli.rb
|
|
76
|
-
- lib/pairwise/formatter/csv.rb
|
|
77
|
-
- lib/pairwise/formatter/cucumber.rb
|
|
78
|
-
- lib/pairwise/formatter.rb
|
|
79
79
|
- lib/version.rb
|
|
80
|
-
- spec/spec_helper.rb
|
|
81
|
-
- spec/pairwise_spec.rb
|
|
82
|
-
- spec/pairwise/ipo/horizontal_spec.rb
|
|
83
80
|
- spec/pairwise/cli_spec.rb
|
|
81
|
+
- spec/pairwise/ipo/horizontal_spec.rb
|
|
84
82
|
- spec/pairwise/ipo_spec.rb
|
|
85
83
|
- spec/pairwise/pair_collection_spec.rb
|
|
86
|
-
-
|
|
84
|
+
- spec/pairwise_spec.rb
|
|
85
|
+
- spec/spec_helper.rb
|
|
87
86
|
homepage: https://aliking.github.io/pairwise/
|
|
88
87
|
licenses: []
|
|
89
88
|
metadata: {}
|
|
90
|
-
post_install_message:
|
|
91
89
|
rdoc_options: []
|
|
92
90
|
require_paths:
|
|
93
91
|
- lib
|
|
94
92
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
93
|
requirements:
|
|
96
|
-
- -
|
|
94
|
+
- - ">="
|
|
97
95
|
- !ruby/object:Gem::Version
|
|
98
96
|
version: '0'
|
|
99
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
98
|
requirements:
|
|
101
|
-
- -
|
|
99
|
+
- - ">="
|
|
102
100
|
- !ruby/object:Gem::Version
|
|
103
101
|
version: '0'
|
|
104
102
|
requirements: []
|
|
105
|
-
|
|
106
|
-
rubygems_version: 2.0.14
|
|
107
|
-
signing_key:
|
|
103
|
+
rubygems_version: 3.6.9
|
|
108
104
|
specification_version: 4
|
|
109
105
|
summary: Turn large test data combinations into smaller ones
|
|
110
106
|
test_files: []
|