@pact-foundation/pact-core 20.0.0 → 20.1.1
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.
- package/CHANGELOG.md +20 -0
- package/biome.jsonc +4 -0
- package/dist/consumer/checkErrors.js.map +1 -1
- package/dist/consumer/index.d.ts +20 -1
- package/dist/consumer/index.js +70 -21
- package/dist/consumer/index.js.map +1 -1
- package/dist/consumer/internals.js.map +1 -1
- package/dist/consumer/types.d.ts +9 -0
- package/dist/ffi/index.d.ts +1 -1
- package/dist/ffi/index.js +1 -1
- package/dist/ffi/index.js.map +1 -1
- package/dist/ffi/types.d.ts +49 -7
- package/dist/ffi/types.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/logger/crashMessage.js.map +1 -1
- package/dist/logger/index.js.map +1 -1
- package/dist/logger/pino.js.map +1 -1
- package/dist/pact-environment.js.map +1 -1
- package/dist/pact.js.map +1 -1
- package/dist/verifier/argumentMapper/arguments.js +17 -4
- package/dist/verifier/argumentMapper/arguments.js.map +1 -1
- package/dist/verifier/argumentMapper/index.js.map +1 -1
- package/dist/verifier/argumentMapper/types.js.map +1 -1
- package/dist/verifier/index.d.ts +1 -1
- package/dist/verifier/index.js.map +1 -1
- package/dist/verifier/nativeVerifier.js.map +1 -1
- package/dist/verifier/types.d.ts +1 -0
- package/dist/verifier/validateOptions.js +1 -0
- package/dist/verifier/validateOptions.js.map +1 -1
- package/junit.xml +222 -193
- package/package.json +27 -27
package/junit.xml
CHANGED
|
@@ -1,99 +1,118 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
-
<testsuites name="vitest tests" tests="
|
|
3
|
-
<testsuite name="src/index.spec.ts" timestamp="2026-
|
|
4
|
-
<testcase classname="src/index.spec.ts" name="Index Spec > Typescript import should work" time="0.
|
|
2
|
+
<testsuites name="vitest tests" tests="92" failures="0" errors="0" time="4.399135016">
|
|
3
|
+
<testsuite name="src/index.spec.ts" timestamp="2026-09-07T06:17:17.738Z" hostname="runnervmejwal" tests="1" failures="0" errors="0" skipped="0" time="0.004115602">
|
|
4
|
+
<testcase classname="src/index.spec.ts" name="Index Spec > Typescript import should work" time="0.00218111">
|
|
5
5
|
</testcase>
|
|
6
6
|
</testsuite>
|
|
7
|
-
<testsuite name="src/pact.spec.ts" timestamp="2026-
|
|
8
|
-
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'trace'" time="0.
|
|
7
|
+
<testsuite name="src/pact.spec.ts" timestamp="2026-09-07T06:17:17.739Z" hostname="runnervmejwal" tests="5" failures="0" errors="0" skipped="0" time="0.007777727">
|
|
8
|
+
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'trace'" time="0.001746232">
|
|
9
9
|
</testcase>
|
|
10
|
-
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'debug'" time="0.
|
|
10
|
+
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'debug'" time="0.000410713">
|
|
11
11
|
</testcase>
|
|
12
|
-
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'info'" time="0.
|
|
12
|
+
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'info'" time="0.000407556">
|
|
13
13
|
</testcase>
|
|
14
|
-
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'warn'" time="0.
|
|
14
|
+
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'warn'" time="0.000320314">
|
|
15
15
|
</testcase>
|
|
16
|
-
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'error'" time="0.
|
|
16
|
+
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'error'" time="0.00047057">
|
|
17
17
|
</testcase>
|
|
18
18
|
</testsuite>
|
|
19
|
-
<testsuite name="test/consumer.integration.spec.ts" timestamp="2026-
|
|
20
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with matching rules > generates a pact with success" time="0.
|
|
19
|
+
<testsuite name="test/consumer.integration.spec.ts" timestamp="2026-09-07T06:17:17.740Z" hostname="runnervmejwal" tests="12" failures="0" errors="0" skipped="1" time="0.855479442">
|
|
20
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with matching rules > generates a pact with success" time="0.057306047">
|
|
21
21
|
<system-out>
|
|
22
|
-
[
|
|
22
|
+
[06:17:15.301] [32mINFO[39m (2852): [36m0.5.7: pact native library successfully found, and the correct version[39m
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
[]
|
|
26
26
|
|
|
27
27
|
</system-out>
|
|
28
28
|
</testcase>
|
|
29
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with JSON data > generates a pact with success" time="0.
|
|
29
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with JSON data > generates a pact with success" time="0.006945796">
|
|
30
30
|
</testcase>
|
|
31
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with JSON data > generates a pact with failure" time="0.
|
|
31
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with JSON data > generates a pact with failure" time="0.007397104">
|
|
32
32
|
</testcase>
|
|
33
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with a
|
|
33
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with a TLS mock server > serves requests over TLS using the exposed CA certificate" time="0">
|
|
34
|
+
<skipped/>
|
|
34
35
|
</testcase>
|
|
35
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with interaction
|
|
36
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with an interaction key > writes the interaction key to the pact file" time="0.004052083">
|
|
36
37
|
</testcase>
|
|
37
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with
|
|
38
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with a pending interaction > writes pending state to the pact file" time="0.004177506">
|
|
38
39
|
</testcase>
|
|
39
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API >
|
|
40
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with interaction comments and test name > writes comments and interaction test name to the pact file" time="0.00288705">
|
|
40
41
|
</testcase>
|
|
41
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with
|
|
42
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with binary data > generates a pact with success" time="0.00911848">
|
|
43
|
+
</testcase>
|
|
44
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > using a plugin (protobufs) > generates a pact with success" time="0.699678919">
|
|
45
|
+
</testcase>
|
|
46
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > when setting plugin interaction contents fails > throws when the contents are not valid JSON" time="0.002853578">
|
|
47
|
+
<system-out>
|
|
48
|
+
[06:17:16.088] [31mERROR[39m (2852): [36mFailed to set plugin interaction contents for content type 'application/json': the contents are not valid JSON: Contents is not a valid JSON - expected ident at line 1 column 2[39m
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</system-out>
|
|
52
|
+
</testcase>
|
|
53
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > when setting plugin interaction contents fails > throws when the content type is not valid" time="0.001677525">
|
|
54
|
+
<system-out>
|
|
55
|
+
[06:17:16.090] [31mERROR[39m (2852): [36mFailed to set plugin interaction contents for content type 'not a content type': the content type is not valid: 'not a content type' is not a valid content type - Failed to parse 'not a content type' as a content type: mime parse error: an invalid token was encountered, 20 at position 3[39m
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
</system-out>
|
|
59
|
+
</testcase>
|
|
60
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with multipart data > generates a pact with success" time="0.054947403">
|
|
42
61
|
<system-out>
|
|
43
62
|
[]
|
|
44
63
|
|
|
45
64
|
</system-out>
|
|
46
65
|
</testcase>
|
|
47
66
|
</testsuite>
|
|
48
|
-
<testsuite name="test/matt.consumer.integration.spec.ts" timestamp="2026-
|
|
49
|
-
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > HTTP test > returns a valid MATT message over HTTP" time="0.
|
|
67
|
+
<testsuite name="test/matt.consumer.integration.spec.ts" timestamp="2026-09-07T06:17:17.744Z" hostname="runnervmejwal" tests="2" failures="0" errors="0" skipped="0" time="1.123117425">
|
|
68
|
+
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > HTTP test > returns a valid MATT message over HTTP" time="0.585032384">
|
|
50
69
|
<system-out>
|
|
51
|
-
[
|
|
70
|
+
[06:17:16.465] [32mINFO[39m (2987): [36m0.5.7: pact native library successfully found, and the correct version[39m
|
|
52
71
|
|
|
53
72
|
|
|
54
73
|
</system-out>
|
|
55
74
|
</testcase>
|
|
56
|
-
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > TCP Messages > with MATT protocol > generates a pact with success" time="0.
|
|
75
|
+
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > TCP Messages > with MATT protocol > generates a pact with success" time="0.535754698">
|
|
57
76
|
</testcase>
|
|
58
77
|
</testsuite>
|
|
59
|
-
<testsuite name="test/matt.provider.integration.spec.ts" timestamp="2026-
|
|
60
|
-
<testcase classname="test/matt.provider.integration.spec.ts" name="MATT protocol test > HTTP and TCP Provider > returns a valid MATT message over HTTP and TCP" time="0.
|
|
78
|
+
<testsuite name="test/matt.provider.integration.spec.ts" timestamp="2026-09-07T06:17:17.745Z" hostname="runnervmejwal" tests="1" failures="0" errors="0" skipped="0" time="0.133656674">
|
|
79
|
+
<testcase classname="test/matt.provider.integration.spec.ts" name="MATT protocol test > HTTP and TCP Provider > returns a valid MATT message over HTTP and TCP" time="0.131431682">
|
|
61
80
|
<system-out>
|
|
62
|
-
[
|
|
81
|
+
[06:17:17.182] [32mINFO[39m (3111): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
63
82
|
|
|
64
|
-
[
|
|
83
|
+
[06:17:17.189] [32mINFO[39m (3111): [36m0.5.7: pact native library successfully found, and the correct version[39m
|
|
65
84
|
|
|
66
85
|
|
|
67
|
-
[
|
|
86
|
+
[06:17:17.300] [32mINFO[39m (3111): [36mpact-core@20.1.0: Verification successful[39m
|
|
68
87
|
|
|
69
88
|
|
|
70
89
|
</system-out>
|
|
71
90
|
</testcase>
|
|
72
91
|
</testsuite>
|
|
73
|
-
<testsuite name="test/message.integration.spec.ts" timestamp="2026-
|
|
74
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with JSON data > generates a pact with success" time="0.
|
|
92
|
+
<testsuite name="test/message.integration.spec.ts" timestamp="2026-09-07T06:17:17.745Z" hostname="runnervmejwal" tests="8" failures="0" errors="0" skipped="0" time="0.69929154">
|
|
93
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with JSON data > generates a pact with success" time="0.007255702">
|
|
75
94
|
</testcase>
|
|
76
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with JSON data > writes pending state to the pact file" time="0.
|
|
95
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with JSON data > writes pending state to the pact file" time="0.001279025">
|
|
77
96
|
</testcase>
|
|
78
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with JSON data > writes comments and interaction test name for async message" time="0.
|
|
97
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with JSON data > writes comments and interaction test name for async message" time="0.001466513">
|
|
79
98
|
</testcase>
|
|
80
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with binary data > generates a pact with success" time="0.
|
|
99
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with binary data > generates a pact with success" time="0.00115242">
|
|
81
100
|
</testcase>
|
|
82
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with JSON data > generates a pact with success" time="0.
|
|
101
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with JSON data > generates a pact with success" time="0.007210577">
|
|
83
102
|
</testcase>
|
|
84
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with JSON data > writes pending state to the pact file" time="0.
|
|
103
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with JSON data > writes pending state to the pact file" time="0.001073643">
|
|
85
104
|
</testcase>
|
|
86
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with JSON data > writes comments and interaction test name for sync message" time="0.
|
|
105
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with JSON data > writes comments and interaction test name for sync message" time="0.001573221">
|
|
87
106
|
</testcase>
|
|
88
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with plugin contents (gRPC) > generates a pact with success" time="0.
|
|
107
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with plugin contents (gRPC) > generates a pact with success" time="0.666093302">
|
|
89
108
|
</testcase>
|
|
90
109
|
</testsuite>
|
|
91
|
-
<testsuite name="test/plugin-verifier.integration.spec.ts" timestamp="2026-
|
|
92
|
-
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > should verify the gRPC interactions" time="0.
|
|
110
|
+
<testsuite name="test/plugin-verifier.integration.spec.ts" timestamp="2026-09-07T06:17:17.747Z" hostname="runnervmejwal" tests="2" failures="0" errors="0" skipped="0" time="0.215317589">
|
|
111
|
+
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > should verify the gRPC interactions" time="0.158222891">
|
|
93
112
|
<system-out>
|
|
94
|
-
[
|
|
113
|
+
[06:17:16.650] [32mINFO[39m (3005): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
95
114
|
|
|
96
|
-
[
|
|
115
|
+
[06:17:16.654] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: binding path #0: : attempting to load native module from:
|
|
97
116
|
|
|
98
117
|
- /home/runner/work/pact-js-core/pact-js-core/prebuilds/linux-x64
|
|
99
118
|
source: pact-js-core binding lookup
|
|
@@ -101,7 +120,7 @@
|
|
|
101
120
|
- You can override via PACT_PREBUILD_LOCATION
|
|
102
121
|
[39m
|
|
103
122
|
|
|
104
|
-
[
|
|
123
|
+
[06:17:16.655] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: binding path #1: : attempting to load native module from:
|
|
105
124
|
|
|
106
125
|
- /home/runner/work/pact-js-core/pact-js-core/@pact-foundation/pact-core-linux-x64-glibc/prebuilds/linux-x64
|
|
107
126
|
source: pact-js-core binding lookup
|
|
@@ -109,53 +128,55 @@
|
|
|
109
128
|
- You can override via PACT_PREBUILD_LOCATION
|
|
110
129
|
[39m
|
|
111
130
|
|
|
112
|
-
[
|
|
131
|
+
[06:17:16.657] [32mINFO[39m (3005): [36m0.5.7: pact native library successfully found, and the correct version[39m
|
|
132
|
+
|
|
133
|
+
[06:17:16.657] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: Initialising native core at log level 'debug'[39m
|
|
113
134
|
|
|
114
|
-
[
|
|
135
|
+
[06:17:16.658] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFilterInfo' was not executed as it had non-fatal validation errors: None of PACT_DESCRIPTION, PACT_PROVIDER_STATE or PACT_PROVIDER_NO_STATE were set in the environment[39m
|
|
115
136
|
|
|
116
|
-
[
|
|
137
|
+
[06:17:16.658] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetProviderState' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
117
138
|
|
|
118
|
-
[
|
|
139
|
+
[06:17:16.659] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetPublishOptions' was not executed as it had non-fatal validation errors: No publishVerificationResult option / PACT_BROKER_PUBLISH_VERIFICATION_RESULTS set, or no providerVersion option[39m
|
|
119
140
|
|
|
120
|
-
[
|
|
141
|
+
[06:17:16.659] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetConsumerFilters' was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m
|
|
121
142
|
|
|
122
|
-
[
|
|
143
|
+
[06:17:16.661] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFailIfNoPactsFound' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
123
144
|
|
|
124
|
-
[
|
|
145
|
+
[06:17:16.662] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFollowRedirects' was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
|
|
125
146
|
|
|
126
|
-
[
|
|
147
|
+
[06:17:16.662] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierAddCustomHeader' was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
|
|
127
148
|
|
|
128
|
-
[
|
|
149
|
+
[06:17:16.662] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json[39m
|
|
129
150
|
|
|
130
|
-
[
|
|
151
|
+
[06:17:16.663] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json as File source[39m
|
|
131
152
|
|
|
132
|
-
[
|
|
153
|
+
[06:17:16.663] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierBrokerSourceWithSelectors' was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m
|
|
133
154
|
|
|
134
155
|
|
|
135
156
|
Server running at http://127.0.0.1:50052
|
|
136
157
|
|
|
137
|
-
[
|
|
158
|
+
[06:17:16.805] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: shutting down verifier with handle 0[39m
|
|
138
159
|
|
|
139
|
-
[
|
|
160
|
+
[06:17:16.805] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: response from verifier: null, 0[39m
|
|
140
161
|
|
|
141
|
-
[
|
|
162
|
+
[06:17:16.805] [32mINFO[39m (3005): [36mpact-core@20.1.0: Verification successful[39m
|
|
142
163
|
|
|
143
164
|
|
|
144
165
|
</system-out>
|
|
145
166
|
</testcase>
|
|
146
|
-
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > runs the grpc client" time="0.
|
|
167
|
+
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > runs the grpc client" time="0.025540881">
|
|
147
168
|
<system-out>
|
|
148
169
|
{ name: [32m'A place'[39m }
|
|
149
170
|
|
|
150
171
|
</system-out>
|
|
151
172
|
</testcase>
|
|
152
173
|
</testsuite>
|
|
153
|
-
<testsuite name="test/verifier.integration.spec.ts" timestamp="2026-
|
|
154
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with spaces in the file path > should return a successful promise" time="0.
|
|
174
|
+
<testsuite name="test/verifier.integration.spec.ts" timestamp="2026-09-07T06:17:17.748Z" hostname="runnervmejwal" tests="17" failures="0" errors="0" skipped="0" time="1.30469951">
|
|
175
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with spaces in the file path > should return a successful promise" time="0.082337249">
|
|
155
176
|
<system-out>
|
|
156
|
-
[
|
|
177
|
+
[06:17:15.510] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
157
178
|
|
|
158
|
-
[
|
|
179
|
+
[06:17:15.513] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: binding path #0: : attempting to load native module from:
|
|
159
180
|
|
|
160
181
|
- /home/runner/work/pact-js-core/pact-js-core/prebuilds/linux-x64
|
|
161
182
|
source: pact-js-core binding lookup
|
|
@@ -163,7 +184,7 @@ Server running at http://127.0.0.1:50052
|
|
|
163
184
|
- You can override via PACT_PREBUILD_LOCATION
|
|
164
185
|
[39m
|
|
165
186
|
|
|
166
|
-
[
|
|
187
|
+
[06:17:15.514] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: binding path #1: : attempting to load native module from:
|
|
167
188
|
|
|
168
189
|
- /home/runner/work/pact-js-core/pact-js-core/@pact-foundation/pact-core-linux-x64-glibc/prebuilds/linux-x64
|
|
169
190
|
source: pact-js-core binding lookup
|
|
@@ -171,356 +192,364 @@ Server running at http://127.0.0.1:50052
|
|
|
171
192
|
- You can override via PACT_PREBUILD_LOCATION
|
|
172
193
|
[39m
|
|
173
194
|
|
|
174
|
-
[
|
|
195
|
+
[06:17:15.517] [32mINFO[39m (2875): [36m0.5.7: pact native library successfully found, and the correct version[39m
|
|
175
196
|
|
|
176
|
-
[
|
|
197
|
+
[06:17:15.517] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: Initialising native core at log level 'debug'[39m
|
|
177
198
|
|
|
178
|
-
[
|
|
199
|
+
[06:17:15.518] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFilterInfo' was not executed as it had non-fatal validation errors: None of PACT_DESCRIPTION, PACT_PROVIDER_STATE or PACT_PROVIDER_NO_STATE were set in the environment[39m
|
|
179
200
|
|
|
180
|
-
[
|
|
201
|
+
[06:17:15.518] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetProviderState' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
181
202
|
|
|
182
|
-
[
|
|
203
|
+
[06:17:15.518] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetPublishOptions' was not executed as it had non-fatal validation errors: No publishVerificationResult option / PACT_BROKER_PUBLISH_VERIFICATION_RESULTS set, or no providerVersion option[39m
|
|
183
204
|
|
|
184
|
-
[
|
|
205
|
+
[06:17:15.518] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetConsumerFilters' was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m
|
|
185
206
|
|
|
186
|
-
[
|
|
207
|
+
[06:17:15.519] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFailIfNoPactsFound' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
187
208
|
|
|
188
|
-
[
|
|
209
|
+
[06:17:15.519] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFollowRedirects' was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
|
|
189
210
|
|
|
190
|
-
[
|
|
211
|
+
[06:17:15.519] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierAddCustomHeader' was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
|
|
191
212
|
|
|
192
|
-
[
|
|
213
|
+
[06:17:15.519] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json[39m
|
|
193
214
|
|
|
194
|
-
[
|
|
215
|
+
[06:17:15.520] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m
|
|
195
216
|
|
|
196
|
-
[
|
|
217
|
+
[06:17:15.520] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierBrokerSourceWithSelectors' was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m
|
|
197
218
|
|
|
219
|
+
[06:17:15.520] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierAddProviderTransport' was not executed as it had non-fatal validation errors: No additional provider transports provided[39m
|
|
198
220
|
|
|
199
|
-
[08:42:21.982] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: shutting down verifier with handle 0[39m
|
|
200
221
|
|
|
201
|
-
[
|
|
222
|
+
[06:17:15.589] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: shutting down verifier with handle 0[39m
|
|
202
223
|
|
|
203
|
-
[
|
|
224
|
+
[06:17:15.589] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: response from verifier: null, 0[39m
|
|
225
|
+
|
|
226
|
+
[06:17:15.589] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
204
227
|
|
|
205
228
|
|
|
206
229
|
</system-out>
|
|
207
230
|
</testcase>
|
|
208
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with spaces in the file path > with some broker args but no broker URL > should return a successful promise" time="0.
|
|
231
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with spaces in the file path > with some broker args but no broker URL > should return a successful promise" time="0.059887934">
|
|
209
232
|
<system-out>
|
|
210
|
-
[
|
|
233
|
+
[06:17:15.591] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
234
|
+
|
|
235
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFilterInfo' was not executed as it had non-fatal validation errors: None of PACT_DESCRIPTION, PACT_PROVIDER_STATE or PACT_PROVIDER_NO_STATE were set in the environment[39m
|
|
211
236
|
|
|
212
|
-
[
|
|
237
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetProviderState' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
213
238
|
|
|
214
|
-
[
|
|
239
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetConsumerFilters' was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m
|
|
215
240
|
|
|
216
|
-
[
|
|
241
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFailIfNoPactsFound' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
217
242
|
|
|
218
|
-
[
|
|
243
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFollowRedirects' was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
|
|
219
244
|
|
|
220
|
-
[
|
|
245
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierAddCustomHeader' was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
|
|
221
246
|
|
|
222
|
-
[
|
|
247
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json[39m
|
|
223
248
|
|
|
224
|
-
[
|
|
249
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m
|
|
225
250
|
|
|
226
|
-
[
|
|
251
|
+
[06:17:15.593] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierBrokerSourceWithSelectors' was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m
|
|
227
252
|
|
|
228
|
-
[
|
|
253
|
+
[06:17:15.593] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierAddProviderTransport' was not executed as it had non-fatal validation errors: No additional provider transports provided[39m
|
|
229
254
|
|
|
230
255
|
|
|
231
|
-
[
|
|
256
|
+
[06:17:15.649] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: shutting down verifier with handle 1[39m
|
|
232
257
|
|
|
233
|
-
[
|
|
258
|
+
[06:17:15.650] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: response from verifier: null, 0[39m
|
|
234
259
|
|
|
235
|
-
[
|
|
260
|
+
[06:17:15.650] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
236
261
|
|
|
237
262
|
|
|
238
263
|
</system-out>
|
|
239
264
|
</testcase>
|
|
240
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > without provider states > should return a successful promise with detailed JSON results" time="0.
|
|
265
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > without provider states > should return a successful promise with detailed JSON results" time="0.057720239">
|
|
241
266
|
<system-out>
|
|
242
|
-
[
|
|
267
|
+
[06:17:15.651] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
243
268
|
|
|
244
269
|
|
|
245
|
-
[
|
|
270
|
+
[06:17:15.706] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
246
271
|
|
|
247
272
|
|
|
248
273
|
</system-out>
|
|
249
274
|
</testcase>
|
|
250
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with Provider States > should return a successful promise with detailed JSON results" time="0.
|
|
275
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with Provider States > should return a successful promise with detailed JSON results" time="0.072758123">
|
|
251
276
|
<system-out>
|
|
252
|
-
[
|
|
277
|
+
[06:17:15.709] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
253
278
|
|
|
254
279
|
|
|
255
|
-
[
|
|
280
|
+
[06:17:15.780] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
256
281
|
|
|
257
282
|
|
|
258
283
|
</system-out>
|
|
259
284
|
</testcase>
|
|
260
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with POST data > should return a successful promise" time="0.
|
|
285
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with POST data > should return a successful promise" time="0.052709843">
|
|
261
286
|
<system-out>
|
|
262
|
-
[
|
|
287
|
+
[06:17:15.782] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
263
288
|
|
|
264
289
|
|
|
265
|
-
[
|
|
290
|
+
[06:17:15.834] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
266
291
|
|
|
267
292
|
|
|
268
293
|
</system-out>
|
|
269
294
|
</testcase>
|
|
270
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with POST data and regex validation > should return a successful promise" time="0.
|
|
295
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with POST data and regex validation > should return a successful promise" time="0.055863097">
|
|
271
296
|
<system-out>
|
|
272
|
-
[
|
|
297
|
+
[06:17:15.834] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
273
298
|
|
|
274
299
|
|
|
275
|
-
[
|
|
300
|
+
[06:17:15.890] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
276
301
|
|
|
277
302
|
|
|
278
303
|
</system-out>
|
|
279
304
|
</testcase>
|
|
280
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with monkeypatch file specified > should return a successful promise" time="0.
|
|
305
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with monkeypatch file specified > should return a successful promise" time="0.05969185">
|
|
281
306
|
<system-out>
|
|
282
|
-
[
|
|
307
|
+
[06:17:15.891] [33mWARN[39m (2875): [36mpact-core@20.1.0: monkeypatch is deprecated and no longer has any effect[39m
|
|
283
308
|
|
|
284
|
-
[
|
|
309
|
+
[06:17:15.891] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
285
310
|
|
|
286
311
|
|
|
287
|
-
[
|
|
312
|
+
[06:17:15.949] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
288
313
|
|
|
289
314
|
|
|
290
315
|
</system-out>
|
|
291
316
|
</testcase>
|
|
292
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a failing contract > should return a rejected promise with detailed JSON results in the error message" time="0.
|
|
317
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a failing contract > should return a rejected promise with detailed JSON results in the error message" time="0.080397277">
|
|
293
318
|
<system-out>
|
|
294
|
-
[
|
|
319
|
+
[06:17:15.950] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
295
320
|
|
|
296
321
|
|
|
297
|
-
[
|
|
322
|
+
[06:17:16.030] [31mERROR[39m (2875): [36mpact-core@20.1.0: Verification unsuccessful[39m
|
|
298
323
|
|
|
299
324
|
|
|
300
325
|
</system-out>
|
|
301
326
|
</testcase>
|
|
302
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple successful API calls in a contract > should return a successful promise" time="0.
|
|
327
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple successful API calls in a contract > should return a successful promise" time="0.091846364">
|
|
303
328
|
<system-out>
|
|
304
|
-
[
|
|
329
|
+
[06:17:16.031] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
305
330
|
|
|
306
331
|
|
|
307
|
-
[
|
|
332
|
+
[06:17:16.122] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
308
333
|
|
|
309
334
|
|
|
310
335
|
</system-out>
|
|
311
336
|
</testcase>
|
|
312
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a local file > should return a successful promise" time="0.
|
|
337
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a local file > should return a successful promise" time="0.107291142">
|
|
313
338
|
<system-out>
|
|
314
|
-
[
|
|
339
|
+
[06:17:16.123] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
315
340
|
|
|
316
341
|
|
|
317
|
-
[
|
|
342
|
+
[06:17:16.229] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
318
343
|
|
|
319
344
|
|
|
320
345
|
</system-out>
|
|
321
346
|
</testcase>
|
|
322
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > without authentication > should return a successful promise" time="0.
|
|
347
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > without authentication > should return a successful promise" time="0.118044539">
|
|
323
348
|
<system-out>
|
|
324
|
-
[
|
|
349
|
+
[06:17:16.230] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
325
350
|
|
|
326
351
|
|
|
327
|
-
[
|
|
352
|
+
[06:17:16.347] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
328
353
|
|
|
329
354
|
|
|
330
355
|
</system-out>
|
|
331
356
|
</testcase>
|
|
332
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and a valid user/password > should return a successful promise" time="0.
|
|
357
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and a valid user/password > should return a successful promise" time="0.125648896">
|
|
333
358
|
<system-out>
|
|
334
|
-
[
|
|
359
|
+
[06:17:16.349] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
335
360
|
|
|
336
361
|
|
|
337
|
-
[
|
|
362
|
+
[06:17:16.473] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
338
363
|
|
|
339
364
|
|
|
340
365
|
</system-out>
|
|
341
366
|
</testcase>
|
|
342
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and an invalid user/password > should return a rejected promise" time="0.
|
|
367
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and an invalid user/password > should return a rejected promise" time="0.074201616">
|
|
343
368
|
<system-out>
|
|
344
|
-
[
|
|
369
|
+
[06:17:16.474] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
345
370
|
|
|
346
371
|
|
|
347
|
-
[
|
|
372
|
+
[06:17:16.547] [31mERROR[39m (2875): [36mpact-core@20.1.0: Verification unsuccessful[39m
|
|
348
373
|
|
|
349
374
|
|
|
350
375
|
</system-out>
|
|
351
376
|
</testcase>
|
|
352
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and an invalid user/password > should return the verifier error output in the returned promise" time="0.
|
|
377
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and an invalid user/password > should return the verifier error output in the returned promise" time="0.063112961">
|
|
353
378
|
<system-out>
|
|
354
|
-
[
|
|
379
|
+
[06:17:16.548] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
355
380
|
|
|
356
381
|
|
|
357
|
-
[
|
|
382
|
+
[06:17:16.611] [31mERROR[39m (2875): [36mpact-core@20.1.0: Verification unsuccessful[39m
|
|
358
383
|
|
|
359
384
|
|
|
360
385
|
</system-out>
|
|
361
386
|
</testcase>
|
|
362
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is a valid Pact file with spaces in the path > should return a successful promise" time="0.
|
|
387
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is a valid Pact file with spaces in the path > should return a successful promise" time="0.064217276">
|
|
363
388
|
<system-out>
|
|
364
|
-
[
|
|
389
|
+
[06:17:16.612] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
365
390
|
|
|
366
391
|
|
|
367
|
-
[
|
|
392
|
+
[06:17:16.675] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
368
393
|
|
|
369
394
|
|
|
370
395
|
</system-out>
|
|
371
396
|
</testcase>
|
|
372
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is a valid verification HAL link in the Pact file > should return a successful promise" time="0.
|
|
397
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is a valid verification HAL link in the Pact file > should return a successful promise" time="0.063258229">
|
|
373
398
|
<system-out>
|
|
374
|
-
[
|
|
399
|
+
[06:17:16.676] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
375
400
|
|
|
376
401
|
|
|
377
|
-
[
|
|
402
|
+
[06:17:16.739] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
378
403
|
|
|
379
404
|
|
|
380
405
|
</system-out>
|
|
381
406
|
</testcase>
|
|
382
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is an invalid verification HAL link in the Pact file > should fail with an error" time="0.
|
|
407
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is an invalid verification HAL link in the Pact file > should fail with an error" time="0.060170217">
|
|
383
408
|
<system-out>
|
|
384
|
-
[
|
|
409
|
+
[06:17:16.739] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
385
410
|
|
|
386
411
|
|
|
387
|
-
[
|
|
412
|
+
[06:17:16.799] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
388
413
|
|
|
389
414
|
|
|
390
415
|
</system-out>
|
|
391
416
|
</testcase>
|
|
392
417
|
</testsuite>
|
|
393
|
-
<testsuite name="src/consumer/checkErrors.spec.ts" timestamp="2026-
|
|
394
|
-
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats numeric status code 0 as success" time="0.
|
|
418
|
+
<testsuite name="src/consumer/checkErrors.spec.ts" timestamp="2026-09-07T06:17:17.756Z" hostname="runnervmejwal" tests="2" failures="0" errors="0" skipped="0" time="0.005058051">
|
|
419
|
+
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats numeric status code 0 as success" time="0.002683532">
|
|
395
420
|
</testcase>
|
|
396
|
-
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats non-zero numeric status as failure" time="0.
|
|
421
|
+
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats non-zero numeric status as failure" time="0.000337997">
|
|
397
422
|
</testcase>
|
|
398
423
|
</testsuite>
|
|
399
|
-
<testsuite name="src/verifier/validateOptions.spec.ts" timestamp="2026-
|
|
400
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when automatically finding pacts from a broker > when not given --pact-urls and only --pact-broker-url > should fail with an error because provider is missing" time="0.
|
|
424
|
+
<testsuite name="src/verifier/validateOptions.spec.ts" timestamp="2026-09-07T06:17:17.757Z" hostname="runnervmejwal" tests="42" failures="0" errors="0" skipped="0" time="0.050621456">
|
|
425
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when automatically finding pacts from a broker > when not given --pact-urls and only --pact-broker-url > should fail with an error because provider is missing" time="0.013223301">
|
|
401
426
|
<system-out>
|
|
402
|
-
[
|
|
427
|
+
[06:17:15.057] [31mERROR[39m (2853): [36mpactBrokerUrl requires the following properties: provider[39m
|
|
403
428
|
|
|
404
429
|
|
|
405
430
|
</system-out>
|
|
406
431
|
</testcase>
|
|
407
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when automatically finding pacts from a broker > when given valid arguments > should return a Verifier object" time="0.
|
|
432
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when automatically finding pacts from a broker > when given valid arguments > should return a Verifier object" time="0.001629555">
|
|
408
433
|
</testcase>
|
|
409
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when automatically finding pacts from a broker > when given an unknown array argument > should return a Verifier object" time="0.
|
|
434
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when automatically finding pacts from a broker > when given an unknown array argument > should return a Verifier object" time="0.000475783">
|
|
410
435
|
</testcase>
|
|
411
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when not given --pact-urls or --provider-base-url > should fail with an error" time="0.
|
|
436
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when not given --pact-urls or --provider-base-url > should fail with an error" time="0.000741486">
|
|
412
437
|
</testcase>
|
|
413
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given an invalid timeout > should fail with an error" time="0.
|
|
438
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given an invalid timeout > should fail with an error" time="0.000546966">
|
|
414
439
|
</testcase>
|
|
415
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given remote Pact URLs that don't exist > should pass through to the Pact Verifier regardless" time="0.
|
|
440
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given remote Pact URLs that don't exist > should pass through to the Pact Verifier regardless" time="0.000410523">
|
|
416
441
|
</testcase>
|
|
417
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given local Pact URLs that do exist > should not fail" time="0.
|
|
442
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given local Pact URLs that do exist > should not fail" time="0.00047942">
|
|
418
443
|
</testcase>
|
|
419
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when requested to publish verification results to a Pact Broker > and specifies a provider version > should pass through to the Pact Verifier" time="0.
|
|
444
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when requested to publish verification results to a Pact Broker > and specifies a provider version > should pass through to the Pact Verifier" time="0.000461446">
|
|
420
445
|
</testcase>
|
|
421
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when requested to publish verification results to a Pact Broker > and does not specify provider version > should fail with an error" time="0.
|
|
446
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when requested to publish verification results to a Pact Broker > and does not specify provider version > should fail with an error" time="0.001720144">
|
|
422
447
|
<system-out>
|
|
423
|
-
[
|
|
448
|
+
[06:17:15.070] [31mERROR[39m (2853): [36mpublishVerificationResult requires the following properties: providerVersion[39m
|
|
424
449
|
|
|
425
450
|
|
|
426
451
|
</system-out>
|
|
427
452
|
</testcase>
|
|
428
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given the correct arguments > should return a Verifier object" time="0.
|
|
453
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given the correct arguments > should return a Verifier object" time="0.000316688">
|
|
454
|
+
</testcase>
|
|
455
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using includeWipPactsSince > should accept a non-empty string" time="0.000299036">
|
|
456
|
+
</testcase>
|
|
457
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using includeWipPactsSince > should not accept an empty string" time="0.000352314">
|
|
429
458
|
</testcase>
|
|
430
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using
|
|
459
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using followRedirects > should accept a boolean" time="0.000868021">
|
|
431
460
|
</testcase>
|
|
432
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using
|
|
461
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using followRedirects > should not accept a non-boolean" time="0.000476665">
|
|
433
462
|
</testcase>
|
|
434
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when an using format option > should work with either 'json' or 'xml'" time="0.
|
|
463
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when an using format option > should work with either 'json' or 'xml'" time="0.001946564">
|
|
435
464
|
<system-out>
|
|
436
|
-
[
|
|
465
|
+
[06:17:15.075] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
|
|
437
466
|
|
|
438
|
-
[
|
|
467
|
+
[06:17:15.075] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
|
|
439
468
|
|
|
440
|
-
[
|
|
469
|
+
[06:17:15.076] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
|
|
441
470
|
|
|
442
471
|
|
|
443
472
|
</system-out>
|
|
444
473
|
</testcase>
|
|
445
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when an using format option > should work with a case insensitive string" time="0.
|
|
474
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when an using format option > should work with a case insensitive string" time="0.000567263">
|
|
446
475
|
<system-out>
|
|
447
|
-
[
|
|
476
|
+
[06:17:15.076] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
|
|
448
477
|
|
|
449
478
|
|
|
450
479
|
</system-out>
|
|
451
480
|
</testcase>
|
|
452
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is not provided > should not fail" time="0.
|
|
481
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is not provided > should not fail" time="0.000576681">
|
|
453
482
|
</testcase>
|
|
454
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is provided > should not fail" time="0.
|
|
483
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is provided > should not fail" time="0.000397187">
|
|
455
484
|
</testcase>
|
|
456
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is not provided > should not fail" time="0.
|
|
485
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is not provided > should not fail" time="0.000296351">
|
|
457
486
|
</testcase>
|
|
458
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is provided as an array > should not fail" time="0.
|
|
487
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is provided as an array > should not fail" time="0.000602509">
|
|
459
488
|
</testcase>
|
|
460
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is not provided > should not fail" time="0.
|
|
489
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is not provided > should not fail" time="0.000297051">
|
|
461
490
|
</testcase>
|
|
462
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is provided as an array > should not fail" time="0.
|
|
491
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is provided as an array > should not fail" time="0.000283647">
|
|
463
492
|
</testcase>
|
|
464
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using a bearer token > and specifies a username or password > should fail with an error" time="0.
|
|
493
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using a bearer token > and specifies a username or password > should fail with an error" time="0.000999827">
|
|
465
494
|
<system-out>
|
|
466
|
-
[
|
|
495
|
+
[06:17:15.080] [31mERROR[39m (2853): [36mpactBrokerToken is incompatible with the following properties: pactBrokerUsername,pactBrokerPassword[39m
|
|
467
496
|
|
|
468
497
|
|
|
469
498
|
</system-out>
|
|
470
499
|
</testcase>
|
|
471
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using a bearer token > should not fail" time="0.
|
|
500
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using a bearer token > should not fail" time="0.000298243">
|
|
472
501
|
</testcase>
|
|
473
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providing consumerVersionSelectors > and an unsupported selector is specified > should log out a warning that the selector is unknown" time="0.
|
|
502
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providing consumerVersionSelectors > and an unsupported selector is specified > should log out a warning that the selector is unknown" time="0.003956326">
|
|
474
503
|
<system-out>
|
|
475
|
-
[
|
|
504
|
+
[06:17:15.084] [33mWARN[39m (2853): [36mpact-core@20.1.0: The consumer version selector 'unsupportedFlag' is unknown but will be sent through to the validation. Allowed properties are tag, latest, consumer, deployedOrReleased, deployed, released, environment, fallbackTag, branch, mainBranch, matchingBranch)[39m
|
|
476
505
|
|
|
477
506
|
|
|
478
507
|
</system-out>
|
|
479
508
|
</testcase>
|
|
480
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and the tag of "latest" is specified > should log out a warning that using this selector is not recommended" time="0.
|
|
509
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and the tag of "latest" is specified > should log out a warning that using this selector is not recommended" time="0.002831617">
|
|
481
510
|
<system-out>
|
|
482
|
-
[
|
|
511
|
+
[06:17:15.086] [33mWARN[39m (2853): [36mpact-core@20.1.0: Using the tag 'latest' is not recommended and probably does not do what you intended.[39m
|
|
483
512
|
|
|
484
|
-
[
|
|
513
|
+
[06:17:15.086] [33mWARN[39m (2853): [36mpact-core@20.1.0: See https://docs.pact.io/pact_broker/tags/#latest-pacts[39m
|
|
485
514
|
|
|
486
|
-
[
|
|
515
|
+
[06:17:15.087] [33mWARN[39m (2853): [36mpact-core@20.1.0: If you need to specify latest, try:[39m
|
|
487
516
|
|
|
488
|
-
[
|
|
517
|
+
[06:17:15.087] [33mWARN[39m (2853): [36mpact-core@20.1.0: consumerVersionSelectors: [{ lastest: true }][39m
|
|
489
518
|
|
|
490
519
|
|
|
491
520
|
</system-out>
|
|
492
521
|
</testcase>
|
|
493
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"tag":"a-tag"}" time="0.
|
|
522
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"tag":"a-tag"}" time="0.000480092">
|
|
494
523
|
</testcase>
|
|
495
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"latest":true}" time="0.
|
|
524
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"latest":true}" time="0.000223254">
|
|
496
525
|
</testcase>
|
|
497
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"consumer":"the-consumer"}" time="0.
|
|
526
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"consumer":"the-consumer"}" time="0.000262477">
|
|
498
527
|
</testcase>
|
|
499
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"deployedOrReleased":true}" time="0.
|
|
528
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"deployedOrReleased":true}" time="0.000242971">
|
|
500
529
|
</testcase>
|
|
501
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"deployed":true}" time="0.
|
|
530
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"deployed":true}" time="0.00021561">
|
|
502
531
|
</testcase>
|
|
503
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"released":true}" time="0.
|
|
532
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"released":true}" time="0.000217533">
|
|
504
533
|
</testcase>
|
|
505
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"environment":"an-environment"}" time="0.
|
|
534
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"environment":"an-environment"}" time="0.000272266">
|
|
506
535
|
</testcase>
|
|
507
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"fallbackTag":"a-fallback-tag"}" time="0.
|
|
536
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"fallbackTag":"a-fallback-tag"}" time="0.004253958">
|
|
508
537
|
</testcase>
|
|
509
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"branch":"the-branch"}" time="0.
|
|
538
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"branch":"the-branch"}" time="0.000314834">
|
|
510
539
|
</testcase>
|
|
511
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"mainBranch":false}" time="0.
|
|
540
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"mainBranch":false}" time="0.000254081">
|
|
512
541
|
</testcase>
|
|
513
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"matchingBranch":true}" time="0.
|
|
542
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"matchingBranch":true}" time="0.000218075">
|
|
514
543
|
</testcase>
|
|
515
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given customProviderHeaders > using the object notation > should pass through to the Pact Verifier" time="0.
|
|
544
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given customProviderHeaders > using the object notation > should pass through to the Pact Verifier" time="0.00071134">
|
|
516
545
|
</testcase>
|
|
517
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given customProviderHeaders > using the legacy array notation > should pass through to the Pact Verifier" time="0.
|
|
546
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given customProviderHeaders > using the legacy array notation > should pass through to the Pact Verifier" time="0.000372131">
|
|
518
547
|
</testcase>
|
|
519
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given customProviderHeaders > using the legacy array notation > and the format is incorrect > should throw an error" time="0.
|
|
548
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given customProviderHeaders > using the legacy array notation > and the format is incorrect > should throw an error" time="0.000371149">
|
|
520
549
|
</testcase>
|
|
521
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given providerBranch > should not throw an error" time="0.
|
|
550
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given providerBranch > should not throw an error" time="0.001162959">
|
|
522
551
|
</testcase>
|
|
523
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given unknown properties > should ignore them and not throw an error" time="0.
|
|
552
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given unknown properties > should ignore them and not throw an error" time="0.00032841">
|
|
524
553
|
</testcase>
|
|
525
554
|
</testsuite>
|
|
526
555
|
</testsuites>
|