@pact-foundation/pact-core 20.0.0 → 20.1.0
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 +15 -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 +34 -1
- 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 +39 -6
- 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 +208 -193
- package/package.json +26 -26
package/junit.xml
CHANGED
|
@@ -1,99 +1,104 @@
|
|
|
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="90" failures="0" errors="0" time="4.201438561">
|
|
3
|
+
<testsuite name="src/index.spec.ts" timestamp="2026-08-05T15:25:33.700Z" hostname="runnervmvrwv9" tests="1" failures="0" errors="0" skipped="0" time="0.002882655">
|
|
4
|
+
<testcase classname="src/index.spec.ts" name="Index Spec > Typescript import should work" time="0.001490651">
|
|
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-08-05T15:25:33.700Z" hostname="runnervmvrwv9" tests="5" failures="0" errors="0" skipped="0" time="0.005619265">
|
|
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.001311928">
|
|
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.000311133">
|
|
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.000250764">
|
|
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.00032782">
|
|
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.000242243">
|
|
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-08-05T15:25:33.701Z" hostname="runnervmvrwv9" tests="10" failures="0" errors="0" skipped="1" time="0.712742983">
|
|
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.04570236">
|
|
21
21
|
<system-out>
|
|
22
|
-
[
|
|
22
|
+
[15:25:31.492] [32mINFO[39m (2643): [36m0.5.6: 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.006152173">
|
|
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.00644934">
|
|
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.002818971">
|
|
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.003286604">
|
|
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.002677164">
|
|
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.013817572">
|
|
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.596492848">
|
|
45
|
+
</testcase>
|
|
46
|
+
<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.032649258">
|
|
42
47
|
<system-out>
|
|
43
48
|
[]
|
|
44
49
|
|
|
45
50
|
</system-out>
|
|
46
51
|
</testcase>
|
|
47
52
|
</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.
|
|
53
|
+
<testsuite name="test/matt.consumer.integration.spec.ts" timestamp="2026-08-05T15:25:33.703Z" hostname="runnervmvrwv9" tests="2" failures="0" errors="0" skipped="0" time="1.103748352">
|
|
54
|
+
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > HTTP test > returns a valid MATT message over HTTP" time="0.571763217">
|
|
50
55
|
<system-out>
|
|
51
|
-
[
|
|
56
|
+
[15:25:32.479] [32mINFO[39m (2779): [36m0.5.6: pact native library successfully found, and the correct version[39m
|
|
52
57
|
|
|
53
58
|
|
|
54
59
|
</system-out>
|
|
55
60
|
</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.
|
|
61
|
+
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > TCP Messages > with MATT protocol > generates a pact with success" time="0.529462124">
|
|
57
62
|
</testcase>
|
|
58
63
|
</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.
|
|
64
|
+
<testsuite name="test/matt.provider.integration.spec.ts" timestamp="2026-08-05T15:25:33.704Z" hostname="runnervmvrwv9" tests="1" failures="0" errors="0" skipped="0" time="0.137345146">
|
|
65
|
+
<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.135528247">
|
|
61
66
|
<system-out>
|
|
62
|
-
[
|
|
67
|
+
[15:25:33.021] [32mINFO[39m (2896): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
63
68
|
|
|
64
|
-
[
|
|
69
|
+
[15:25:33.027] [32mINFO[39m (2896): [36m0.5.6: pact native library successfully found, and the correct version[39m
|
|
65
70
|
|
|
66
71
|
|
|
67
|
-
[
|
|
72
|
+
[15:25:33.145] [32mINFO[39m (2896): [36mpact-core@20.0.0: Verification successful[39m
|
|
68
73
|
|
|
69
74
|
|
|
70
75
|
</system-out>
|
|
71
76
|
</testcase>
|
|
72
77
|
</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.
|
|
78
|
+
<testsuite name="test/message.integration.spec.ts" timestamp="2026-08-05T15:25:33.704Z" hostname="runnervmvrwv9" tests="8" failures="0" errors="0" skipped="0" time="0.647704201">
|
|
79
|
+
<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.005772432">
|
|
75
80
|
</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.
|
|
81
|
+
<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.001180927">
|
|
77
82
|
</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.
|
|
83
|
+
<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.001245099">
|
|
79
84
|
</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.
|
|
85
|
+
<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.001019065">
|
|
81
86
|
</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.
|
|
87
|
+
<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.005568713">
|
|
83
88
|
</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.
|
|
89
|
+
<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.000900209">
|
|
85
90
|
</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.
|
|
91
|
+
<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.001172708">
|
|
87
92
|
</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.
|
|
93
|
+
<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.621482925">
|
|
89
94
|
</testcase>
|
|
90
95
|
</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.
|
|
96
|
+
<testsuite name="test/plugin-verifier.integration.spec.ts" timestamp="2026-08-05T15:25:33.705Z" hostname="runnervmvrwv9" tests="2" failures="0" errors="0" skipped="0" time="0.190274334">
|
|
97
|
+
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > should verify the gRPC interactions" time="0.1449503">
|
|
93
98
|
<system-out>
|
|
94
|
-
[
|
|
99
|
+
[15:25:32.588] [32mINFO[39m (2792): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
95
100
|
|
|
96
|
-
[
|
|
101
|
+
[15:25:32.592] [34mDEBUG[39m (2792): [36mpact-core@20.0.0: binding path #0: : attempting to load native module from:
|
|
97
102
|
|
|
98
103
|
- /home/runner/work/pact-js-core/pact-js-core/prebuilds/linux-x64
|
|
99
104
|
source: pact-js-core binding lookup
|
|
@@ -101,7 +106,7 @@
|
|
|
101
106
|
- You can override via PACT_PREBUILD_LOCATION
|
|
102
107
|
[39m
|
|
103
108
|
|
|
104
|
-
[
|
|
109
|
+
[15:25:32.593] [34mDEBUG[39m (2792): [36mpact-core@20.0.0: binding path #1: : attempting to load native module from:
|
|
105
110
|
|
|
106
111
|
- /home/runner/work/pact-js-core/pact-js-core/@pact-foundation/pact-core-linux-x64-glibc/prebuilds/linux-x64
|
|
107
112
|
source: pact-js-core binding lookup
|
|
@@ -109,53 +114,55 @@
|
|
|
109
114
|
- You can override via PACT_PREBUILD_LOCATION
|
|
110
115
|
[39m
|
|
111
116
|
|
|
112
|
-
[
|
|
117
|
+
[15:25:32.595] [32mINFO[39m (2792): [36m0.5.6: pact native library successfully found, and the correct version[39m
|
|
113
118
|
|
|
114
|
-
[
|
|
119
|
+
[15:25:32.595] [34mDEBUG[39m (2792): [36mpact-core@20.0.0: Initialising native core at log level 'debug'[39m
|
|
115
120
|
|
|
116
|
-
[
|
|
121
|
+
[15:25:32.596] [34mDEBUG[39m (2792): [36mpact-core@20.0.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
|
|
117
122
|
|
|
118
|
-
[
|
|
123
|
+
[15:25:32.596] [34mDEBUG[39m (2792): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierSetProviderState' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
119
124
|
|
|
120
|
-
[
|
|
125
|
+
[15:25:32.599] [34mDEBUG[39m (2792): [36mpact-core@20.0.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
|
|
121
126
|
|
|
122
|
-
[
|
|
127
|
+
[15:25:32.600] [34mDEBUG[39m (2792): [36mpact-core@20.0.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
|
|
123
128
|
|
|
124
|
-
[
|
|
129
|
+
[15:25:32.600] [34mDEBUG[39m (2792): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierSetFailIfNoPactsFound' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
125
130
|
|
|
126
|
-
[
|
|
131
|
+
[15:25:32.600] [34mDEBUG[39m (2792): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierSetFollowRedirects' was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
|
|
127
132
|
|
|
128
|
-
[
|
|
133
|
+
[15:25:32.600] [34mDEBUG[39m (2792): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierAddCustomHeader' was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
|
|
129
134
|
|
|
130
|
-
[
|
|
135
|
+
[15:25:32.601] [34mDEBUG[39m (2792): [36mpact-core@20.0.0: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json[39m
|
|
131
136
|
|
|
132
|
-
[
|
|
137
|
+
[15:25:32.601] [34mDEBUG[39m (2792): [36mpact-core@20.0.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json as File source[39m
|
|
138
|
+
|
|
139
|
+
[15:25:32.601] [34mDEBUG[39m (2792): [36mpact-core@20.0.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
140
|
|
|
134
141
|
|
|
135
142
|
Server running at http://127.0.0.1:50052
|
|
136
143
|
|
|
137
|
-
[
|
|
144
|
+
[15:25:32.729] [34mDEBUG[39m (2792): [36mpact-core@20.0.0: shutting down verifier with handle 0[39m
|
|
138
145
|
|
|
139
|
-
[
|
|
146
|
+
[15:25:32.730] [34mDEBUG[39m (2792): [36mpact-core@20.0.0: response from verifier: null, 0[39m
|
|
140
147
|
|
|
141
|
-
[
|
|
148
|
+
[15:25:32.730] [32mINFO[39m (2792): [36mpact-core@20.0.0: Verification successful[39m
|
|
142
149
|
|
|
143
150
|
|
|
144
151
|
</system-out>
|
|
145
152
|
</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.
|
|
153
|
+
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > runs the grpc client" time="0.022019174">
|
|
147
154
|
<system-out>
|
|
148
155
|
{ name: [32m'A place'[39m }
|
|
149
156
|
|
|
150
157
|
</system-out>
|
|
151
158
|
</testcase>
|
|
152
159
|
</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.
|
|
160
|
+
<testsuite name="test/verifier.integration.spec.ts" timestamp="2026-08-05T15:25:33.706Z" hostname="runnervmvrwv9" tests="17" failures="0" errors="0" skipped="0" time="1.363236927">
|
|
161
|
+
<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.118036044">
|
|
155
162
|
<system-out>
|
|
156
|
-
[
|
|
163
|
+
[15:25:31.666] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
157
164
|
|
|
158
|
-
[
|
|
165
|
+
[15:25:31.669] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: binding path #0: : attempting to load native module from:
|
|
159
166
|
|
|
160
167
|
- /home/runner/work/pact-js-core/pact-js-core/prebuilds/linux-x64
|
|
161
168
|
source: pact-js-core binding lookup
|
|
@@ -163,7 +170,7 @@ Server running at http://127.0.0.1:50052
|
|
|
163
170
|
- You can override via PACT_PREBUILD_LOCATION
|
|
164
171
|
[39m
|
|
165
172
|
|
|
166
|
-
[
|
|
173
|
+
[15:25:31.670] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: binding path #1: : attempting to load native module from:
|
|
167
174
|
|
|
168
175
|
- /home/runner/work/pact-js-core/pact-js-core/@pact-foundation/pact-core-linux-x64-glibc/prebuilds/linux-x64
|
|
169
176
|
source: pact-js-core binding lookup
|
|
@@ -171,356 +178,364 @@ Server running at http://127.0.0.1:50052
|
|
|
171
178
|
- You can override via PACT_PREBUILD_LOCATION
|
|
172
179
|
[39m
|
|
173
180
|
|
|
174
|
-
[
|
|
181
|
+
[15:25:31.672] [32mINFO[39m (2666): [36m0.5.6: pact native library successfully found, and the correct version[39m
|
|
182
|
+
|
|
183
|
+
[15:25:31.672] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: Initialising native core at log level 'debug'[39m
|
|
175
184
|
|
|
176
|
-
[
|
|
185
|
+
[15:25:31.673] [34mDEBUG[39m (2666): [36mpact-core@20.0.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
|
|
177
186
|
|
|
178
|
-
[
|
|
187
|
+
[15:25:31.673] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierSetProviderState' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
179
188
|
|
|
180
|
-
[
|
|
189
|
+
[15:25:31.673] [34mDEBUG[39m (2666): [36mpact-core@20.0.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
|
|
181
190
|
|
|
182
|
-
[
|
|
191
|
+
[15:25:31.673] [34mDEBUG[39m (2666): [36mpact-core@20.0.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
|
|
183
192
|
|
|
184
|
-
[
|
|
193
|
+
[15:25:31.673] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierSetFailIfNoPactsFound' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
185
194
|
|
|
186
|
-
[
|
|
195
|
+
[15:25:31.674] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierSetFollowRedirects' was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
|
|
187
196
|
|
|
188
|
-
[
|
|
197
|
+
[15:25:31.674] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierAddCustomHeader' was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
|
|
189
198
|
|
|
190
|
-
[
|
|
199
|
+
[15:25:31.674] [34mDEBUG[39m (2666): [36mpact-core@20.0.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
|
|
191
200
|
|
|
192
|
-
[
|
|
201
|
+
[15:25:31.674] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m
|
|
193
202
|
|
|
194
|
-
[
|
|
203
|
+
[15:25:31.675] [34mDEBUG[39m (2666): [36mpact-core@20.0.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
|
|
195
204
|
|
|
196
|
-
[
|
|
205
|
+
[15:25:31.675] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierAddProviderTransport' was not executed as it had non-fatal validation errors: No additional provider transports provided[39m
|
|
197
206
|
|
|
198
207
|
|
|
199
|
-
[
|
|
208
|
+
[15:25:31.781] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: shutting down verifier with handle 0[39m
|
|
200
209
|
|
|
201
|
-
[
|
|
210
|
+
[15:25:31.781] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: response from verifier: null, 0[39m
|
|
202
211
|
|
|
203
|
-
[
|
|
212
|
+
[15:25:31.782] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
204
213
|
|
|
205
214
|
|
|
206
215
|
</system-out>
|
|
207
216
|
</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.
|
|
217
|
+
<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.066392726">
|
|
209
218
|
<system-out>
|
|
210
|
-
[
|
|
219
|
+
[15:25:31.783] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
211
220
|
|
|
212
|
-
[
|
|
221
|
+
[15:25:31.784] [34mDEBUG[39m (2666): [36mpact-core@20.0.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
|
|
213
222
|
|
|
214
|
-
[
|
|
223
|
+
[15:25:31.784] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierSetProviderState' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
215
224
|
|
|
216
|
-
[
|
|
225
|
+
[15:25:31.784] [34mDEBUG[39m (2666): [36mpact-core@20.0.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
|
|
217
226
|
|
|
218
|
-
[
|
|
227
|
+
[15:25:31.784] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierSetFailIfNoPactsFound' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
219
228
|
|
|
220
|
-
[
|
|
229
|
+
[15:25:31.784] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierSetFollowRedirects' was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
|
|
221
230
|
|
|
222
|
-
[
|
|
231
|
+
[15:25:31.784] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierAddCustomHeader' was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
|
|
223
232
|
|
|
224
|
-
[
|
|
233
|
+
[15:25:31.784] [34mDEBUG[39m (2666): [36mpact-core@20.0.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
|
|
225
234
|
|
|
226
|
-
[
|
|
235
|
+
[15:25:31.785] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m
|
|
227
236
|
|
|
228
|
-
[
|
|
237
|
+
[15:25:31.785] [34mDEBUG[39m (2666): [36mpact-core@20.0.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
|
|
229
238
|
|
|
239
|
+
[15:25:31.785] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: the optional ffi function 'pactffiVerifierAddProviderTransport' was not executed as it had non-fatal validation errors: No additional provider transports provided[39m
|
|
230
240
|
|
|
231
|
-
[08:42:22.040] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: shutting down verifier with handle 1[39m
|
|
232
241
|
|
|
233
|
-
[
|
|
242
|
+
[15:25:31.848] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: shutting down verifier with handle 1[39m
|
|
234
243
|
|
|
235
|
-
[
|
|
244
|
+
[15:25:31.848] [34mDEBUG[39m (2666): [36mpact-core@20.0.0: response from verifier: null, 0[39m
|
|
245
|
+
|
|
246
|
+
[15:25:31.848] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
236
247
|
|
|
237
248
|
|
|
238
249
|
</system-out>
|
|
239
250
|
</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.
|
|
251
|
+
<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.063762845">
|
|
241
252
|
<system-out>
|
|
242
|
-
[
|
|
253
|
+
[15:25:31.849] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
243
254
|
|
|
244
255
|
|
|
245
|
-
[
|
|
256
|
+
[15:25:31.911] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
246
257
|
|
|
247
258
|
|
|
248
259
|
</system-out>
|
|
249
260
|
</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.
|
|
261
|
+
<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.080749074">
|
|
251
262
|
<system-out>
|
|
252
|
-
[
|
|
263
|
+
[15:25:31.913] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
253
264
|
|
|
254
265
|
|
|
255
|
-
[
|
|
266
|
+
[15:25:31.993] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
256
267
|
|
|
257
268
|
|
|
258
269
|
</system-out>
|
|
259
270
|
</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.
|
|
271
|
+
<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.065009838">
|
|
261
272
|
<system-out>
|
|
262
|
-
[
|
|
273
|
+
[15:25:31.994] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
263
274
|
|
|
264
275
|
|
|
265
|
-
[
|
|
276
|
+
[15:25:32.059] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
266
277
|
|
|
267
278
|
|
|
268
279
|
</system-out>
|
|
269
280
|
</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.
|
|
281
|
+
<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.060489847">
|
|
271
282
|
<system-out>
|
|
272
|
-
[
|
|
283
|
+
[15:25:32.059] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
273
284
|
|
|
274
285
|
|
|
275
|
-
[
|
|
286
|
+
[15:25:32.119] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
276
287
|
|
|
277
288
|
|
|
278
289
|
</system-out>
|
|
279
290
|
</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.
|
|
291
|
+
<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.071924248">
|
|
281
292
|
<system-out>
|
|
282
|
-
[
|
|
293
|
+
[15:25:32.120] [33mWARN[39m (2666): [36mpact-core@20.0.0: monkeypatch is deprecated and no longer has any effect[39m
|
|
283
294
|
|
|
284
|
-
[
|
|
295
|
+
[15:25:32.120] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
285
296
|
|
|
286
297
|
|
|
287
|
-
[
|
|
298
|
+
[15:25:32.191] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
288
299
|
|
|
289
300
|
|
|
290
301
|
</system-out>
|
|
291
302
|
</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.
|
|
303
|
+
<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.072103554">
|
|
293
304
|
<system-out>
|
|
294
|
-
[
|
|
305
|
+
[15:25:32.192] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
295
306
|
|
|
296
307
|
|
|
297
|
-
[
|
|
308
|
+
[15:25:32.263] [31mERROR[39m (2666): [36mpact-core@20.0.0: Verification unsuccessful[39m
|
|
298
309
|
|
|
299
310
|
|
|
300
311
|
</system-out>
|
|
301
312
|
</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.
|
|
313
|
+
<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.088698943">
|
|
303
314
|
<system-out>
|
|
304
|
-
[
|
|
315
|
+
[15:25:32.264] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
305
316
|
|
|
306
317
|
|
|
307
|
-
[
|
|
318
|
+
[15:25:32.352] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
308
319
|
|
|
309
320
|
|
|
310
321
|
</system-out>
|
|
311
322
|
</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.
|
|
323
|
+
<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.112955905">
|
|
313
324
|
<system-out>
|
|
314
|
-
[
|
|
325
|
+
[15:25:32.353] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
315
326
|
|
|
316
327
|
|
|
317
|
-
[
|
|
328
|
+
[15:25:32.465] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
318
329
|
|
|
319
330
|
|
|
320
331
|
</system-out>
|
|
321
332
|
</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.
|
|
333
|
+
<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.107453748">
|
|
323
334
|
<system-out>
|
|
324
|
-
[
|
|
335
|
+
[15:25:32.466] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
325
336
|
|
|
326
337
|
|
|
327
|
-
[
|
|
338
|
+
[15:25:32.573] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
328
339
|
|
|
329
340
|
|
|
330
341
|
</system-out>
|
|
331
342
|
</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.
|
|
343
|
+
<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.096011651">
|
|
333
344
|
<system-out>
|
|
334
|
-
[
|
|
345
|
+
[15:25:32.574] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
335
346
|
|
|
336
347
|
|
|
337
|
-
[
|
|
348
|
+
[15:25:32.669] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
338
349
|
|
|
339
350
|
|
|
340
351
|
</system-out>
|
|
341
352
|
</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.
|
|
353
|
+
<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.065305341">
|
|
343
354
|
<system-out>
|
|
344
|
-
[
|
|
355
|
+
[15:25:32.670] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
345
356
|
|
|
346
357
|
|
|
347
|
-
[
|
|
358
|
+
[15:25:32.734] [31mERROR[39m (2666): [36mpact-core@20.0.0: Verification unsuccessful[39m
|
|
348
359
|
|
|
349
360
|
|
|
350
361
|
</system-out>
|
|
351
362
|
</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.
|
|
363
|
+
<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.063277867">
|
|
353
364
|
<system-out>
|
|
354
|
-
[
|
|
365
|
+
[15:25:32.735] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
355
366
|
|
|
356
367
|
|
|
357
|
-
[
|
|
368
|
+
[15:25:32.798] [31mERROR[39m (2666): [36mpact-core@20.0.0: Verification unsuccessful[39m
|
|
358
369
|
|
|
359
370
|
|
|
360
371
|
</system-out>
|
|
361
372
|
</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.
|
|
373
|
+
<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.072656604">
|
|
363
374
|
<system-out>
|
|
364
|
-
[
|
|
375
|
+
[15:25:32.799] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
365
376
|
|
|
366
377
|
|
|
367
|
-
[
|
|
378
|
+
[15:25:32.871] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
368
379
|
|
|
369
380
|
|
|
370
381
|
</system-out>
|
|
371
382
|
</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.
|
|
383
|
+
<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.068596461">
|
|
373
384
|
<system-out>
|
|
374
|
-
[
|
|
385
|
+
[15:25:32.872] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
375
386
|
|
|
376
387
|
|
|
377
|
-
[
|
|
388
|
+
[15:25:32.940] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
378
389
|
|
|
379
390
|
|
|
380
391
|
</system-out>
|
|
381
392
|
</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.
|
|
393
|
+
<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.075050413">
|
|
383
394
|
<system-out>
|
|
384
|
-
[
|
|
395
|
+
[15:25:32.940] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verifying Pact Files[39m
|
|
385
396
|
|
|
386
397
|
|
|
387
|
-
[
|
|
398
|
+
[15:25:33.015] [32mINFO[39m (2666): [36mpact-core@20.0.0: Verification successful[39m
|
|
388
399
|
|
|
389
400
|
|
|
390
401
|
</system-out>
|
|
391
402
|
</testcase>
|
|
392
403
|
</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.
|
|
404
|
+
<testsuite name="src/consumer/checkErrors.spec.ts" timestamp="2026-08-05T15:25:33.711Z" hostname="runnervmvrwv9" tests="2" failures="0" errors="0" skipped="0" time="0.005084138">
|
|
405
|
+
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats numeric status code 0 as success" time="0.002836434">
|
|
395
406
|
</testcase>
|
|
396
|
-
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats non-zero numeric status as failure" time="0.
|
|
407
|
+
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats non-zero numeric status as failure" time="0.000288411">
|
|
397
408
|
</testcase>
|
|
398
409
|
</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.
|
|
410
|
+
<testsuite name="src/verifier/validateOptions.spec.ts" timestamp="2026-08-05T15:25:33.711Z" hostname="runnervmvrwv9" tests="42" failures="0" errors="0" skipped="0" time="0.03280056">
|
|
411
|
+
<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.007535491">
|
|
401
412
|
<system-out>
|
|
402
|
-
[
|
|
413
|
+
[15:25:31.320] [31mERROR[39m (2644): [36mpactBrokerUrl requires the following properties: provider[39m
|
|
403
414
|
|
|
404
415
|
|
|
405
416
|
</system-out>
|
|
406
417
|
</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.
|
|
418
|
+
<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.00114508">
|
|
408
419
|
</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.
|
|
420
|
+
<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.000433276">
|
|
410
421
|
</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.
|
|
422
|
+
<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.000274023">
|
|
412
423
|
</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.
|
|
424
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given an invalid timeout > should fail with an error" time="0.00032247">
|
|
414
425
|
</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.
|
|
426
|
+
<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.000266019">
|
|
416
427
|
</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.
|
|
428
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given local Pact URLs that do exist > should not fail" time="0.000222293">
|
|
418
429
|
</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.
|
|
430
|
+
<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.000276726">
|
|
420
431
|
</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.
|
|
432
|
+
<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.001972297">
|
|
422
433
|
<system-out>
|
|
423
|
-
[
|
|
434
|
+
[15:25:31.328] [31mERROR[39m (2644): [36mpublishVerificationResult requires the following properties: providerVersion[39m
|
|
424
435
|
|
|
425
436
|
|
|
426
437
|
</system-out>
|
|
427
438
|
</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.
|
|
439
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given the correct arguments > should return a Verifier object" time="0.000214001">
|
|
440
|
+
</testcase>
|
|
441
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using includeWipPactsSince > should accept a non-empty string" time="0.000139691">
|
|
442
|
+
</testcase>
|
|
443
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using includeWipPactsSince > should not accept an empty string" time="0.000181504">
|
|
429
444
|
</testcase>
|
|
430
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using
|
|
445
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using followRedirects > should accept a boolean" time="0.000684357">
|
|
431
446
|
</testcase>
|
|
432
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using
|
|
447
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using followRedirects > should not accept a non-boolean" time="0.00025239">
|
|
433
448
|
</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.
|
|
449
|
+
<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.001095231">
|
|
435
450
|
<system-out>
|
|
436
|
-
[
|
|
451
|
+
[15:25:31.332] [33mWARN[39m (2644): [36mpact-core@20.0.0: format is deprecated and no longer has any effect[39m
|
|
437
452
|
|
|
438
|
-
[
|
|
453
|
+
[15:25:31.332] [33mWARN[39m (2644): [36mpact-core@20.0.0: format is deprecated and no longer has any effect[39m
|
|
439
454
|
|
|
440
|
-
[
|
|
455
|
+
[15:25:31.332] [33mWARN[39m (2644): [36mpact-core@20.0.0: format is deprecated and no longer has any effect[39m
|
|
441
456
|
|
|
442
457
|
|
|
443
458
|
</system-out>
|
|
444
459
|
</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.
|
|
460
|
+
<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.000532189">
|
|
446
461
|
<system-out>
|
|
447
|
-
[
|
|
462
|
+
[15:25:31.333] [33mWARN[39m (2644): [36mpact-core@20.0.0: format is deprecated and no longer has any effect[39m
|
|
448
463
|
|
|
449
464
|
|
|
450
465
|
</system-out>
|
|
451
466
|
</testcase>
|
|
452
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is not provided > should not fail" time="0.
|
|
467
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is not provided > should not fail" time="0.000289688">
|
|
453
468
|
</testcase>
|
|
454
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is provided > should not fail" time="0.
|
|
469
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is provided > should not fail" time="0.000323908">
|
|
455
470
|
</testcase>
|
|
456
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is not provided > should not fail" time="0.
|
|
471
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is not provided > should not fail" time="0.000254151">
|
|
457
472
|
</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.
|
|
473
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is provided as an array > should not fail" time="0.000578635">
|
|
459
474
|
</testcase>
|
|
460
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is not provided > should not fail" time="0.
|
|
475
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is not provided > should not fail" time="0.000240213">
|
|
461
476
|
</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.
|
|
477
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is provided as an array > should not fail" time="0.000200816">
|
|
463
478
|
</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.
|
|
479
|
+
<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.000595392">
|
|
465
480
|
<system-out>
|
|
466
|
-
[
|
|
481
|
+
[15:25:31.336] [31mERROR[39m (2644): [36mpactBrokerToken is incompatible with the following properties: pactBrokerUsername,pactBrokerPassword[39m
|
|
467
482
|
|
|
468
483
|
|
|
469
484
|
</system-out>
|
|
470
485
|
</testcase>
|
|
471
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using a bearer token > should not fail" time="0.
|
|
486
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using a bearer token > should not fail" time="0.000235963">
|
|
472
487
|
</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.
|
|
488
|
+
<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.003062273">
|
|
474
489
|
<system-out>
|
|
475
|
-
[
|
|
490
|
+
[15:25:31.339] [33mWARN[39m (2644): [36mpact-core@20.0.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
491
|
|
|
477
492
|
|
|
478
493
|
</system-out>
|
|
479
494
|
</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.
|
|
495
|
+
<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.00269742">
|
|
481
496
|
<system-out>
|
|
482
|
-
[
|
|
497
|
+
[15:25:31.340] [33mWARN[39m (2644): [36mpact-core@20.0.0: Using the tag 'latest' is not recommended and probably does not do what you intended.[39m
|
|
483
498
|
|
|
484
|
-
[
|
|
499
|
+
[15:25:31.341] [33mWARN[39m (2644): [36mpact-core@20.0.0: See https://docs.pact.io/pact_broker/tags/#latest-pacts[39m
|
|
485
500
|
|
|
486
|
-
[
|
|
501
|
+
[15:25:31.341] [33mWARN[39m (2644): [36mpact-core@20.0.0: If you need to specify latest, try:[39m
|
|
487
502
|
|
|
488
|
-
[
|
|
503
|
+
[15:25:31.341] [33mWARN[39m (2644): [36mpact-core@20.0.0: consumerVersionSelectors: [{ lastest: true }][39m
|
|
489
504
|
|
|
490
505
|
|
|
491
506
|
</system-out>
|
|
492
507
|
</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.
|
|
508
|
+
<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.000265036">
|
|
494
509
|
</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.
|
|
510
|
+
<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.000132216">
|
|
496
511
|
</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.
|
|
512
|
+
<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.000138375">
|
|
498
513
|
</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.
|
|
514
|
+
<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.000119063">
|
|
500
515
|
</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.
|
|
516
|
+
<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.000106689">
|
|
502
517
|
</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.
|
|
518
|
+
<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.00008812">
|
|
504
519
|
</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.
|
|
520
|
+
<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.000088161">
|
|
506
521
|
</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.
|
|
522
|
+
<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.002609967">
|
|
508
523
|
</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.
|
|
524
|
+
<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.000205095">
|
|
510
525
|
</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.
|
|
526
|
+
<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.000115941">
|
|
512
527
|
</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.
|
|
528
|
+
<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.000115038">
|
|
514
529
|
</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.
|
|
530
|
+
<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.000494584">
|
|
516
531
|
</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.
|
|
532
|
+
<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.000264063">
|
|
518
533
|
</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.
|
|
534
|
+
<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.000224948">
|
|
520
535
|
</testcase>
|
|
521
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given providerBranch > should not throw an error" time="0.
|
|
536
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given providerBranch > should not throw an error" time="0.000182969">
|
|
522
537
|
</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.
|
|
538
|
+
<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.000205233">
|
|
524
539
|
</testcase>
|
|
525
540
|
</testsuite>
|
|
526
541
|
</testsuites>
|