UNPKG

@pact-foundation/pact-core

Version:

Core of @pact-foundation/pact. You almost certainly don't want to depend on this directly.

527 lines (371 loc) 39.1 kB
<?xml version="1.0" encoding="UTF-8" ?> <testsuites name="vitest tests" tests="86" failures="0" errors="0" time="4.490004409"> <testsuite name="src/index.spec.ts" timestamp="2026-05-29T08:42:24.087Z" hostname="runnervm3jyl0" tests="1" failures="0" errors="0" skipped="0" time="0.005587275"> <testcase classname="src/index.spec.ts" name="Index Spec &gt; Typescript import should work" time="0.002907649"> </testcase> </testsuite> <testsuite name="src/pact.spec.ts" timestamp="2026-05-29T08:42:24.088Z" hostname="runnervm3jyl0" tests="5" failures="0" errors="0" skipped="0" time="0.009123635"> <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;trace&apos;" time="0.00215522"> </testcase> <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;debug&apos;" time="0.000471016"> </testcase> <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;info&apos;" time="0.000379817"> </testcase> <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;warn&apos;" time="0.000412798"> </testcase> <testcase classname="src/pact.spec.ts" name="Pact Spec &gt; Set Log Level &gt; when setting a log level &gt; should be able to set log level &apos;error&apos;" time="0.000383303"> </testcase> </testsuite> <testsuite name="test/consumer.integration.spec.ts" timestamp="2026-05-29T08:42:24.090Z" hostname="runnervm3jyl0" tests="8" failures="0" errors="0" skipped="0" time="0.76387797"> <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with matching rules &gt; generates a pact with success" time="0.053607202"> <system-out> [08:42:21.700] [32mINFO[39m (2839): [36m0.5.4: pact native library successfully found, and the correct version[39m [] </system-out> </testcase> <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with JSON data &gt; generates a pact with success" time="0.009487227"> </testcase> <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with JSON data &gt; generates a pact with failure" time="0.006250595"> </testcase> <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with a pending interaction &gt; writes pending state to the pact file" time="0.003161921"> </testcase> <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with interaction comments and test name &gt; writes comments and interaction test name to the pact file" time="0.003909549"> </testcase> <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with binary data &gt; generates a pact with success" time="0.005164939"> </testcase> <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; using a plugin (protobufs) &gt; generates a pact with success" time="0.629412981"> </testcase> <testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API &gt; with multipart data &gt; generates a pact with success" time="0.049480598"> <system-out> [] </system-out> </testcase> </testsuite> <testsuite name="test/matt.consumer.integration.spec.ts" timestamp="2026-05-29T08:42:24.092Z" hostname="runnervm3jyl0" tests="2" failures="0" errors="0" skipped="0" time="1.137921011"> <testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test &gt; HTTP test &gt; returns a valid MATT message over HTTP" time="0.597826812"> <system-out> [08:42:22.794] [32mINFO[39m (2975): [36m0.5.4: pact native library successfully found, and the correct version[39m </system-out> </testcase> <testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test &gt; TCP Messages &gt; with MATT protocol &gt; generates a pact with success" time="0.536916096"> </testcase> </testsuite> <testsuite name="test/matt.provider.integration.spec.ts" timestamp="2026-05-29T08:42:24.092Z" hostname="runnervm3jyl0" tests="1" failures="0" errors="0" skipped="0" time="0.135198631"> <testcase classname="test/matt.provider.integration.spec.ts" name="MATT protocol test &gt; HTTP and TCP Provider &gt; returns a valid MATT message over HTTP and TCP" time="0.132991315"> <system-out> [08:42:23.510] [32mINFO[39m (3098): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:23.519] [32mINFO[39m (3098): [36m0.5.4: pact native library successfully found, and the correct version[39m [08:42:23.630] [32mINFO[39m (3098): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> </testsuite> <testsuite name="test/message.integration.spec.ts" timestamp="2026-05-29T08:42:24.093Z" hostname="runnervm3jyl0" tests="8" failures="0" errors="0" skipped="0" time="0.640900397"> <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Asynchronous Messages &gt; with JSON data &gt; generates a pact with success" time="0.0070395"> </testcase> <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Asynchronous Messages &gt; with JSON data &gt; writes pending state to the pact file" time="0.001069816"> </testcase> <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Asynchronous Messages &gt; with JSON data &gt; writes comments and interaction test name for async message" time="0.001323417"> </testcase> <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Asynchronous Messages &gt; with binary data &gt; generates a pact with success" time="0.001612907"> </testcase> <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Synchronous Messages &gt; with JSON data &gt; generates a pact with success" time="0.006396496"> </testcase> <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Synchronous Messages &gt; with JSON data &gt; writes pending state to the pact file" time="0.001034961"> </testcase> <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Synchronous Messages &gt; with JSON data &gt; writes comments and interaction test name for sync message" time="0.001624296"> </testcase> <testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API &gt; Synchronous Messages &gt; with plugin contents (gRPC) &gt; generates a pact with success" time="0.608432764"> </testcase> </testsuite> <testsuite name="test/plugin-verifier.integration.spec.ts" timestamp="2026-05-29T08:42:24.095Z" hostname="runnervm3jyl0" tests="2" failures="0" errors="0" skipped="0" time="0.224454551"> <testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec &gt; plugin tests &gt; grpc interaction &gt; should verify the gRPC interactions" time="0.167561002"> <system-out> [08:42:22.962] [32mINFO[39m (2992): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:22.967] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: binding path #0: : attempting to load native module from: - /home/runner/work/pact-js-core/pact-js-core/prebuilds/linux-x64 source: pact-js-core binding lookup - You can override via PACT_PREBUILD_LOCATION [39m [08:42:22.968] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: binding path #1: : attempting to load native module from: - /home/runner/work/pact-js-core/pact-js-core/@pact-foundation/pact-core-linux-x64-glibc/prebuilds/linux-x64 source: pact-js-core binding lookup - You can override via PACT_PREBUILD_LOCATION [39m [08:42:22.971] [32mINFO[39m (2992): [36m0.5.4: pact native library successfully found, and the correct version[39m [08:42:22.971] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: Initialising native core at log level &apos;debug&apos;[39m [08:42:22.972] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetFilterInfo&apos; 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 [08:42:22.972] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetProviderState&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m [08:42:22.972] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetPublishOptions&apos; was not executed as it had non-fatal validation errors: No publishVerificationResult option / PACT_BROKER_PUBLISH_VERIFICATION_RESULTS set, or no providerVersion option[39m [08:42:22.972] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetConsumerFilters&apos; was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m [08:42:22.973] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetFailIfNoPactsFound&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m [08:42:22.973] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierAddCustomHeader&apos; was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m [08:42:22.973] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json[39m [08:42:22.974] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json as File source[39m [08:42:22.974] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierBrokerSourceWithSelectors&apos; was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m Server running at http://127.0.0.1:50052 [08:42:23.125] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: shutting down verifier with handle 0[39m [08:42:23.126] [34mDEBUG[39m (2992): [36mpact-core@19.2.0: response from verifier: null, 0[39m [08:42:23.126] [32mINFO[39m (2992): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec &gt; plugin tests &gt; grpc interaction &gt; runs the grpc client" time="0.023592272"> <system-out> { name: [32m&apos;A place&apos;[39m } </system-out> </testcase> </testsuite> <testsuite name="test/verifier.integration.spec.ts" timestamp="2026-05-29T08:42:24.095Z" hostname="runnervm3jyl0" tests="17" failures="0" errors="0" skipped="0" time="1.531460762"> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with spaces in the file path &gt; should return a successful promise" time="0.084619899"> <system-out> [08:42:21.901] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:21.904] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: binding path #0: : attempting to load native module from: - /home/runner/work/pact-js-core/pact-js-core/prebuilds/linux-x64 source: pact-js-core binding lookup - You can override via PACT_PREBUILD_LOCATION [39m [08:42:21.905] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: binding path #1: : attempting to load native module from: - /home/runner/work/pact-js-core/pact-js-core/@pact-foundation/pact-core-linux-x64-glibc/prebuilds/linux-x64 source: pact-js-core binding lookup - You can override via PACT_PREBUILD_LOCATION [39m [08:42:21.907] [32mINFO[39m (2862): [36m0.5.4: pact native library successfully found, and the correct version[39m [08:42:21.907] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: Initialising native core at log level &apos;debug&apos;[39m [08:42:21.908] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetFilterInfo&apos; 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 [08:42:21.909] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetProviderState&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m [08:42:21.909] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetPublishOptions&apos; was not executed as it had non-fatal validation errors: No publishVerificationResult option / PACT_BROKER_PUBLISH_VERIFICATION_RESULTS set, or no providerVersion option[39m [08:42:21.909] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetConsumerFilters&apos; was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m [08:42:21.909] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetFailIfNoPactsFound&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m [08:42:21.910] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierAddCustomHeader&apos; was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m [08:42:21.910] [34mDEBUG[39m (2862): [36mpact-core@19.2.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 [08:42:21.911] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m [08:42:21.911] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierBrokerSourceWithSelectors&apos; was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m [08:42:21.911] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierAddProviderTransport&apos; was not executed as it had non-fatal validation errors: No additional provider transports provided[39m [08:42:21.982] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: shutting down verifier with handle 0[39m [08:42:21.982] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: response from verifier: null, 0[39m [08:42:21.983] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with spaces in the file path &gt; with some broker args but no broker URL &gt; should return a successful promise" time="0.057559952"> <system-out> [08:42:21.985] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:21.985] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetFilterInfo&apos; 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 [08:42:21.985] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetProviderState&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m [08:42:21.985] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetConsumerFilters&apos; was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m [08:42:21.986] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierSetFailIfNoPactsFound&apos; was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m [08:42:21.986] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierAddCustomHeader&apos; was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m [08:42:21.986] [34mDEBUG[39m (2862): [36mpact-core@19.2.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 [08:42:21.986] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m [08:42:21.986] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierBrokerSourceWithSelectors&apos; was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m [08:42:21.986] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: the optional ffi function &apos;pactffiVerifierAddProviderTransport&apos; was not executed as it had non-fatal validation errors: No additional provider transports provided[39m [08:42:22.040] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: shutting down verifier with handle 1[39m [08:42:22.041] [34mDEBUG[39m (2862): [36mpact-core@19.2.0: response from verifier: null, 0[39m [08:42:22.041] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; without provider states &gt; should return a successful promise with detailed JSON results" time="0.058958505"> <system-out> [08:42:22.042] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:22.098] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with Provider States &gt; should return a successful promise with detailed JSON results" time="0.080817703"> <system-out> [08:42:22.101] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:22.181] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with POST data &gt; should return a successful promise" time="0.056860924"> <system-out> [08:42:22.182] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:22.238] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with POST data and regex validation &gt; should return a successful promise" time="0.059803464"> <system-out> [08:42:22.239] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:22.298] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a successful contract &gt; with monkeypatch file specified &gt; should return a successful promise" time="0.067357935"> <system-out> [08:42:22.299] [33mWARN[39m (2862): [36mpact-core@19.2.0: monkeypatch is deprecated and no longer has any effect[39m [08:42:22.299] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:22.365] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given a failing contract &gt; should return a rejected promise with detailed JSON results in the error message" time="0.067242496"> <system-out> [08:42:22.366] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:22.432] [31mERROR[39m (2862): [36mpact-core@19.2.0: Verification unsuccessful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple successful API calls in a contract &gt; should return a successful promise" time="0.132984709"> <system-out> [08:42:22.434] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:22.566] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a local file &gt; should return a successful promise" time="0.184381647"> <system-out> [08:42:22.567] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:22.750] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a Pact Broker &gt; without authentication &gt; should return a successful promise" time="0.140928887"> <system-out> [08:42:22.751] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:22.891] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a Pact Broker &gt; with authentication &gt; and a valid user/password &gt; should return a successful promise" time="0.121380515"> <system-out> [08:42:22.892] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:23.013] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a Pact Broker &gt; with authentication &gt; and an invalid user/password &gt; should return a rejected promise" time="0.081396867"> <system-out> [08:42:23.014] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:23.094] [31mERROR[39m (2862): [36mpact-core@19.2.0: Verification unsuccessful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when given multiple contracts &gt; from a Pact Broker &gt; with authentication &gt; and an invalid user/password &gt; should return the verifier error output in the returned promise" time="0.066380191"> <system-out> [08:42:23.095] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:23.161] [31mERROR[39m (2862): [36mpact-core@19.2.0: Verification unsuccessful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when publishing verification results to a Pact Broker &gt; and there is a valid Pact file with spaces in the path &gt; should return a successful promise" time="0.083522517"> <system-out> [08:42:23.162] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:23.245] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when publishing verification results to a Pact Broker &gt; and there is a valid verification HAL link in the Pact file &gt; should return a successful promise" time="0.080546248"> <system-out> [08:42:23.246] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:23.325] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> <testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec &gt; when publishing verification results to a Pact Broker &gt; and there is an invalid verification HAL link in the Pact file &gt; should fail with an error" time="0.091124402"> <system-out> [08:42:23.326] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verifying Pact Files[39m [08:42:23.417] [32mINFO[39m (2862): [36mpact-core@19.2.0: Verification successful[39m </system-out> </testcase> </testsuite> <testsuite name="src/consumer/checkErrors.spec.ts" timestamp="2026-05-29T08:42:24.102Z" hostname="runnervm3jyl0" tests="2" failures="0" errors="0" skipped="0" time="0.005138851"> <testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors &gt; treats numeric status code 0 as success" time="0.003003799"> </testcase> <testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors &gt; treats non-zero numeric status as failure" time="0.000289239"> </testcase> </testsuite> <testsuite name="src/verifier/validateOptions.spec.ts" timestamp="2026-05-29T08:42:24.102Z" hostname="runnervm3jyl0" tests="40" failures="0" errors="0" skipped="0" time="0.036341326"> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when automatically finding pacts from a broker &gt; when not given --pact-urls and only --pact-broker-url &gt; should fail with an error because provider is missing" time="0.01041124"> <system-out> [08:42:21.499] [31mERROR[39m (2840): [36mpactBrokerUrl requires the following properties: provider[39m </system-out> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when automatically finding pacts from a broker &gt; when given valid arguments &gt; should return a Verifier object" time="0.001226788"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when automatically finding pacts from a broker &gt; when given an unknown array argument &gt; should return a Verifier object" time="0.000362914"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when not given --pact-urls or --provider-base-url &gt; should fail with an error" time="0.000371109"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given an invalid timeout &gt; should fail with an error" time="0.000885514"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given remote Pact URLs that don&apos;t exist &gt; should pass through to the Pact Verifier regardless" time="0.000376299"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given local Pact URLs that do exist &gt; should not fail" time="0.00033928"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when requested to publish verification results to a Pact Broker &gt; and specifies a provider version &gt; should pass through to the Pact Verifier" time="0.000416205"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when requested to publish verification results to a Pact Broker &gt; and does not specify provider version &gt; should fail with an error" time="0.001246996"> <system-out> [08:42:21.510] [31mERROR[39m (2840): [36mpublishVerificationResult requires the following properties: providerVersion[39m </system-out> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given the correct arguments &gt; should return a Verifier object" time="0.000271434"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using includeWipPactsSince &gt; should accept a non-empty string" time="0.000276764"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using includeWipPactsSince &gt; should not accept an empty string" time="0.000288676"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when an using format option &gt; should work with either &apos;json&apos; or &apos;xml&apos;" time="0.001649413"> <system-out> [08:42:21.512] [33mWARN[39m (2840): [36mpact-core@19.2.0: format is deprecated and no longer has any effect[39m [08:42:21.513] [33mWARN[39m (2840): [36mpact-core@19.2.0: format is deprecated and no longer has any effect[39m [08:42:21.513] [33mWARN[39m (2840): [36mpact-core@19.2.0: format is deprecated and no longer has any effect[39m </system-out> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when an using format option &gt; should work with a case insensitive string" time="0.000492134"> <system-out> [08:42:21.514] [33mWARN[39m (2840): [36mpact-core@19.2.0: format is deprecated and no longer has any effect[39m </system-out> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when pactBrokerUrl is not provided &gt; should not fail" time="0.000299476"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when pactBrokerUrl is provided &gt; should not fail" time="0.000762636"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when consumerVersionTags is not provided &gt; should not fail" time="0.000367753"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when consumerVersionTags is provided as an array &gt; should not fail" time="0.000496322"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when providerVersionTags is not provided &gt; should not fail" time="0.000295278"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when providerVersionTags is provided as an array &gt; should not fail" time="0.000276734"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using a bearer token &gt; and specifies a username or password &gt; should fail with an error" time="0.000844147"> <system-out> [08:42:21.517] [31mERROR[39m (2840): [36mpactBrokerToken is incompatible with the following properties: pactBrokerUsername,pactBrokerPassword[39m </system-out> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when using a bearer token &gt; should not fail" time="0.000270713"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when providing consumerVersionSelectors &gt; and an unsupported selector is specified &gt; should log out a warning that the selector is unknown" time="0.003138628"> <system-out> [08:42:21.521] [33mWARN[39m (2840): [36mpact-core@19.2.0: The consumer version selector &apos;unsupportedFlag&apos; 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 </system-out> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and the tag of &quot;latest&quot; is specified &gt; should log out a warning that using this selector is not recommended" time="0.002189996"> <system-out> [08:42:21.522] [33mWARN[39m (2840): [36mpact-core@19.2.0: Using the tag &apos;latest&apos; is not recommended and probably does not do what you intended.[39m [08:42:21.522] [33mWARN[39m (2840): [36mpact-core@19.2.0: See https://docs.pact.io/pact_broker/tags/#latest-pacts[39m [08:42:21.523] [33mWARN[39m (2840): [36mpact-core@19.2.0: If you need to specify latest, try:[39m [08:42:21.523] [33mWARN[39m (2840): [36mpact-core@19.2.0: consumerVersionSelectors: [{ lastest: true }][39m </system-out> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;tag&quot;:&quot;a-tag&quot;}" time="0.000347355"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;latest&quot;:true}" time="0.000211222"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;consumer&quot;:&quot;the-consumer&quot;}" time="0.000198148"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;deployedOrReleased&quot;:true}" time="0.00017191"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;deployed&quot;:true}" time="0.000160117"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;released&quot;:true}" time="0.000198979"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;environment&quot;:&quot;an-environment&quot;}" time="0.000189693"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;fallbackTag&quot;:&quot;a-fallback-tag&quot;}" time="0.000164896"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;branch&quot;:&quot;the-branch&quot;}" time="0.000164225"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;mainBranch&quot;:false}" time="0.000273608"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; and valid selectors are specified &gt; should not fail when consumerVersionSelectors is {&quot;matchingBranch&quot;:true}" time="0.00022658"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given customProviderHeaders &gt; using the object notation &gt; should pass through to the Pact Verifier" time="0.000589915"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given customProviderHeaders &gt; using the legacy array notation &gt; should pass through to the Pact Verifier" time="0.000334071"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given customProviderHeaders &gt; using the legacy array notation &gt; and the format is incorrect &gt; should throw an error" time="0.000292664"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given providerBranch &gt; should not throw an error" time="0.000262839"> </testcase> <testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator &gt; when given unknown properties &gt; should ignore them and not throw an error" time="0.00029098"> </testcase> </testsuite> </testsuites>