Hi all! Does anyone know how to generate a provide...
# pact-js
j
Hi all! Does anyone know how to generate a provider-verification-result file? I'm using NodeJS to build some REST services
y
the results are an artefact of a provider verification run and are published to a pact broker
j
Thank you!But: • how to produce this file? • Is it the only chance to verify compatibility between consumer using API from the provider? Or is the provider OAS checked during the can-i-deploy stage (from a provider standpoint)?
y
i think you are asking a pactflow specific question which should belong in #CLS16AVEE the file is produced however you like, it’s your choice. you publish a self verification result to say whether the oas matches your impl, that is on you, your team and what tooling you use to test your provider
👍 1
when an oas is uploaded, and an associated pact exists, a verification comparison occurs in pactflow. this also occurs at can i deploy, if there are no existing verifications. note this is for bi directional contact testing only
👍 1