| 1 |
FFFFFFFFFFFFFFFFFF |
| 2 |
|
| 3 |
Failures/Skipped: |
| 4 |
|
| 5 |
Matching: basic_reader_as_array: matches: |
| 6 |
Expected |
| 7 |
["foo bar","moo cow",""] |
| 8 |
to contain element matching |
| 9 |
{"contain-substring":"fox"} |
| 10 |
the transform chain was |
| 11 |
[{"to-array":{}}] |
| 12 |
the raw value was |
| 13 |
"foo bar\nmoo cow\n" |
| 14 |
|
| 15 |
Matching: test_array: matches: |
| 16 |
Expected |
| 17 |
["45","46","47"] |
| 18 |
to contain elements matching |
| 19 |
[{"contain-element":{"match-regexp":"5."}},"55",{"and":[{"ge":56},{"le":30}]}] |
| 20 |
the missing elements were |
| 21 |
[{"contain-element":{"match-regexp":"5."}},"55",{"and":[{"ge":56},{"le":30}]}] |
| 22 |
|
| 23 |
Matching: test_gjson_have_key_array: matches: |
| 24 |
Expected |
| 25 |
{"arr":[{"nested":"cow"},{"nested2":"moo"}]} |
| 26 |
to satisfy at least one of these matchers |
| 27 |
[{"have-key":"fail"}] |
| 28 |
the transform chain was |
| 29 |
[{"gjson":{"Path":"@this"}}] |
| 30 |
the raw value was |
| 31 |
"{\"arr\": [{\"nested\": \"cow\"}, {\"nested2\": \"moo\"}]}" |
| 32 |
|
| 33 |
Matching: test_gjson_invalid: matches: |
| 34 |
Error |
| 35 |
matchers.Gjson{Path:"@this"}: Invalid json |
| 36 |
the transform chain was |
| 37 |
[{"gjson":{"Path":"@this"}}] |
| 38 |
the raw value was |
| 39 |
"{\"arr\"" |
| 40 |
|
| 41 |
Matching: test_gjson_not_found: matches: |
| 42 |
Error |
| 43 |
matchers.Gjson{Path:"foo"}: Path not found: foo |
| 44 |
the transform chain was |
| 45 |
[{"gjson":{"Path":"foo"}}] |
| 46 |
the raw value was |
| 47 |
"{\"arr\": [{\"nested\": \"cow\"}, {\"nested2\": \"moo\"}]}" |
| 48 |
|
| 49 |
Matching: test_gjson_transform_nested_and: matches: |
| 50 |
Expected |
| 51 |
{"nested":"cow"} |
| 52 |
to have key matching |
| 53 |
"nope" |
| 54 |
the transform chain was |
| 55 |
[{"gjson":{"Path":"moo"}}] |
| 56 |
the raw value was |
| 57 |
"{\"foo\": \"bar\", \"moo\": {\"nested\": \"cow\"}, \"count\": \"15\"}" |
| 58 |
|
| 59 |
Matching: test_gjson_transform_nested_count: matches: |
| 60 |
Expected |
| 61 |
15 |
| 62 |
to be numerically le |
| 63 |
10 |
| 64 |
the transform chain was |
| 65 |
[{"gjson":{"Path":"count"}},{"to-numeric":{}}] |
| 66 |
the raw value was |
| 67 |
"{\"foo\": \"bar\", \"moo\": {\"nested\": \"cow\"}, \"count\": \"15\"}" |
| 68 |
|
| 69 |
Matching: test_gjson_transform_nested_prefix: matches: |
| 70 |
Expected |
| 71 |
"bar" |
| 72 |
to have prefix |
| 73 |
"x" |
| 74 |
diff |
| 75 |
--- test |
| 76 |
+++ actual |
| 77 |
@@ -1 +1 @@ |
| 78 |
-x |
| 79 |
+bar |
| 80 |
the transform chain was |
| 81 |
[{"gjson":{"Path":"foo"}}] |
| 82 |
the raw value was |
| 83 |
"{\"foo\": \"bar\", \"moo\": {\"nested\": \"cow\"}, \"count\": \"15\"}" |
| 84 |
|
| 85 |
Matching: test_gjson_transform_nested_this: matches: |
| 86 |
Expected |
| 87 |
{"count":"15","foo":"bar","moo":{"nested":"cow"}} |
| 88 |
to have key matching |
| 89 |
"nope" |
| 90 |
the transform chain was |
| 91 |
[{"gjson":{"Path":"@this"}}] |
| 92 |
the raw value was |
| 93 |
"{\"foo\": \"bar\", \"moo\": {\"nested\": \"cow\"}, \"count\": \"15\"}" |
| 94 |
|
| 95 |
Matching: test_gjson_transform_not_key: matches: |
| 96 |
Expected |
| 97 |
{"nested":"cow"} |
| 98 |
not to have key matching |
| 99 |
"nested" |
| 100 |
the transform chain was |
| 101 |
[{"gjson":{"Path":"moo"}}] |
| 102 |
the raw value was |
| 103 |
"{\"foo\": \"bar\", \"moo\": {\"nested\": \"cow\"}, \"count\": \"15\"}" |
| 104 |
|
| 105 |
Matching: test_gjson_transform_simple: matches: |
| 106 |
Expected |
| 107 |
"cow" |
| 108 |
to equal |
| 109 |
"cowx" |
| 110 |
diff |
| 111 |
--- test |
| 112 |
+++ actual |
| 113 |
@@ -1 +1 @@ |
| 114 |
-cowx |
| 115 |
+cow |
| 116 |
the transform chain was |
| 117 |
[{"gjson":{"Path":"moo.nested"}}] |
| 118 |
the raw value was |
| 119 |
"{\"foo\": \"bar\", \"moo\": {\"nested\": \"cow\"}, \"count\": \"15\"}" |
| 120 |
|
| 121 |
Matching: test_gjson_using_this_and_equal: matches: |
| 122 |
Expected |
| 123 |
{"baz":"bing","foo":"bar"} |
| 124 |
to equal |
| 125 |
{"baz":"bing","fox":"bar"} |
| 126 |
the transform chain was |
| 127 |
[{"gjson":{"Path":"@this"}}] |
| 128 |
the raw value was |
| 129 |
"{\"foo\": \"bar\", \"baz\": \"bing\"}" |
| 130 |
|
| 131 |
Matching: test_numeric_string: matches: |
| 132 |
Expected |
| 133 |
"128" |
| 134 |
to equal |
| 135 |
"129" |
| 136 |
diff |
| 137 |
--- test |
| 138 |
+++ actual |
| 139 |
@@ -1 +1 @@ |
| 140 |
-129 |
| 141 |
+128 |
| 142 |
the transform chain was |
| 143 |
[{"to-string":{}}] |
| 144 |
the raw value was |
| 145 |
128 |
| 146 |
|
| 147 |
Matching: test_reader_as_single_string: matches: |
| 148 |
Expected |
| 149 |
"cool" |
| 150 |
to equal |
| 151 |
"not-cool" |
| 152 |
diff |
| 153 |
--- test |
| 154 |
+++ actual |
| 155 |
@@ -1 +1 @@ |
| 156 |
-not-cool |
| 157 |
+cool |
| 158 |
|
| 159 |
Matching: test_reader_using_int_matchers: matches: |
| 160 |
Expected |
| 161 |
40 |
| 162 |
to be numerically le |
| 163 |
20 |
| 164 |
the transform chain was |
| 165 |
[{"to-numeric":{}}] |
| 166 |
the raw value was |
| 167 |
"40" |
| 168 |
|
| 169 |
Matching: test_reader_using_string_matchers: matches: |
| 170 |
Expected |
| 171 |
"foo bar\n15\nmoo cow\n" |
| 172 |
to have length |
| 173 |
15 |
| 174 |
|
| 175 |
Matching: test_string_float: matches: |
| 176 |
Expected |
| 177 |
128.3 |
| 178 |
to be numerically eq |
| 179 |
129.3 |
| 180 |
the transform chain was |
| 181 |
[{"to-numeric":{}}] |
| 182 |
the raw value was |
| 183 |
"128.3" |
| 184 |
|
| 185 |
Matching: test_string_numeric: matches: |
| 186 |
Expected |
| 187 |
128 |
| 188 |
to be numerically eq |
| 189 |
129 |
| 190 |
the transform chain was |
| 191 |
[{"to-numeric":{}}] |
| 192 |
the raw value was |
| 193 |
"128" |
| 194 |
|
| 195 |
Total Duration: |
| 196 |
Count: 18, Failed: 18, Skipped: 0 |