testdata 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/testdata.rb +19 -5
- metadata +39 -36
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0f2e56af1c870662e0d3bf07e9a86c341a56a6effeeb65874d3fa809d6901812
|
4
|
+
data.tar.gz: bfbb653557080ca99985f3022a12ce8e58bbe9b8ae7a7c0360e8caa570a5adc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d08058127534644079629fb18f5fc6f8381115a07ac5b5698be1e2c70af8c4315d5641c03c5535dd283b80c2a2e8882f8b8f66f4297211970becac06fdba9d28
|
7
|
+
data.tar.gz: dfc6a4159d4d3682b6726e2587006511a8e4eab19bab5f4b050bf69fffeaeae9117e703f7911c4fd45399cfadb71a4bbb50d95f1007bca16a63f6098a160899d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/testdata.rb
CHANGED
@@ -108,12 +108,25 @@ module Testdata
|
|
108
108
|
x ||=(0..-1)
|
109
109
|
|
110
110
|
break_on_fail = @doc.root.element('summary/break_on_fail/text()') == 'true'
|
111
|
+
|
112
|
+
test_id = nil
|
111
113
|
|
112
|
-
|
114
|
+
begin
|
115
|
+
|
116
|
+
@doc.root.xpath("records/test/summary/path/text()")[x].each do |id|
|
117
|
+
|
118
|
+
test_id = id
|
119
|
+
puts 'testing id: ' + id.inspect
|
120
|
+
result = test_id(id)
|
121
|
+
break if result == false and break_on_fail
|
122
|
+
|
123
|
+
end
|
124
|
+
|
125
|
+
rescue
|
113
126
|
|
114
|
-
|
115
|
-
break if result == false and break_on_fail
|
127
|
+
@success << [false, test_id.to_i]
|
116
128
|
end
|
129
|
+
|
117
130
|
|
118
131
|
end
|
119
132
|
|
@@ -182,7 +195,7 @@ module Testdata
|
|
182
195
|
end
|
183
196
|
|
184
197
|
def read_rdx(buffer)
|
185
|
-
|
198
|
+
puts 'inside read_rdf: buffer: ' + buffer.inspect
|
186
199
|
dx = Dynarex.new
|
187
200
|
dx.import buffer
|
188
201
|
|
@@ -242,6 +255,7 @@ module Testdata
|
|
242
255
|
end
|
243
256
|
|
244
257
|
def read_td(buffer)
|
258
|
+
puts 'buffer: ' + buffer
|
245
259
|
TestdataText.parse buffer
|
246
260
|
end
|
247
261
|
|
@@ -319,4 +333,4 @@ end
|
|
319
333
|
|
320
334
|
end
|
321
335
|
end
|
322
|
-
end
|
336
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testdata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,28 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
/
|
30
|
-
|
31
|
-
|
32
|
-
|
13
|
+
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTkxMDA3MDk0MTU2WhcN
|
15
|
+
MjAxMDA2MDk0MTU2WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
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GHmJuRG+SIhMPjR552kTpoKuUqf/aMs0q
|
31
|
+
krS/PjRP7MX2lCx2ZYi6/CdwyJmI5tO4ffXBNFpfquiwAa/tzPKKpbzEFjuUdTs0
|
32
|
+
ByW7I/n/h2fQkhR+/hbzh/xzCuRatkvUkAHmtW1StGSbPn0Hoam6hwWp+NuuUfEU
|
33
|
+
tA2AMgGW5/Ft/vBLFyCfMr/9x6QJEW3VtfwqL8zie4jp2sVCrW1gdotA3+4XdaEF
|
34
|
+
fUI/y8o+W/4oN7aCyhUzCXTSlGzwEHLqqCYX3DFerUd+mdQhSNLYAQuJtj/4zoNc
|
35
|
+
U1Tt/KPr9FeWlvj5ihis4H6UPWZxY2G9k94y2W7ylWkcKNXR8i45F+nCzDL3W0Ll
|
36
|
+
Vt/9GDfEI95Jg3QNvXMDdzNf
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
38
|
+
date: 2019-10-07 00:00:00.000000000 Z
|
35
39
|
dependencies:
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: app-routes
|
@@ -57,42 +61,42 @@ dependencies:
|
|
57
61
|
name: testdata_text
|
58
62
|
requirement: !ruby/object:Gem::Requirement
|
59
63
|
requirements:
|
60
|
-
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0.2'
|
63
64
|
- - ">="
|
64
65
|
- !ruby/object:Gem::Version
|
65
66
|
version: 0.2.0
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0.2'
|
66
70
|
type: :runtime
|
67
71
|
prerelease: false
|
68
72
|
version_requirements: !ruby/object:Gem::Requirement
|
69
73
|
requirements:
|
70
|
-
- - "~>"
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: '0.2'
|
73
74
|
- - ">="
|
74
75
|
- !ruby/object:Gem::Version
|
75
76
|
version: 0.2.0
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0.2'
|
76
80
|
- !ruby/object:Gem::Dependency
|
77
81
|
name: diffy
|
78
82
|
requirement: !ruby/object:Gem::Requirement
|
79
83
|
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '3.2'
|
83
84
|
- - ">="
|
84
85
|
- !ruby/object:Gem::Version
|
85
86
|
version: 3.2.0
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.2'
|
86
90
|
type: :runtime
|
87
91
|
prerelease: false
|
88
92
|
version_requirements: !ruby/object:Gem::Requirement
|
89
93
|
requirements:
|
90
|
-
- - "~>"
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: '3.2'
|
93
94
|
- - ">="
|
94
95
|
- !ruby/object:Gem::Version
|
95
96
|
version: 3.2.0
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '3.2'
|
96
100
|
- !ruby/object:Gem::Dependency
|
97
101
|
name: polyrex
|
98
102
|
requirement: !ruby/object:Gem::Requirement
|
@@ -139,8 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
143
|
- !ruby/object:Gem::Version
|
140
144
|
version: '0'
|
141
145
|
requirements: []
|
142
|
-
|
143
|
-
rubygems_version: 2.6.8
|
146
|
+
rubygems_version: 3.0.3
|
144
147
|
signing_key:
|
145
148
|
specification_version: 4
|
146
149
|
summary: A test framework which accepts test data in a Polyrex format.
|
metadata.gz.sig
CHANGED
Binary file
|