Skip to content

Instantly share code, notes, and snippets.

@mkzer0
Created February 19, 2022 20:27
Show Gist options
  • Save mkzer0/480ee0fa6bc3e7abc5a8da04b6cb398f to your computer and use it in GitHub Desktop.
Save mkzer0/480ee0fa6bc3e7abc5a8da04b6cb398f to your computer and use it in GitHub Desktop.
Output when pact not found
ProviderApiHonoursPactWithConsumer
 Source: ProducerTest.cs line 64
 Duration: 120 ms
Message: 
PactNet.Exceptions.PactFailureException : Pact verification failed
Stack Trace: 
InteropVerifierProvider.Execute()
PactVerifierSource.Verify()
CovidPassportTest.EnsureProviderApiHonoursPactWithConsumer() line 80
Standard Output: 
Starting verification...
Pact verification failed
Verifier Output
---------------
Failures:
1) Failed to load pact - Failed to load pact 'C:\src\pacts\ApiClient-Producer4.json' - The system cannot find the file specified. (os error 2)
There were 1 pact failures
Verifier Logs
-------------
[ERROR][pact_verifier] Failed to load pact - \x1b[31mFailed to load pact 'C:\src\pacts\ApiClient-Producer4.json' - The system cannot find the file specified. (os error 2)\x1b[0m
[WARN][pact_matching::metrics]
Please note:
We are tracking events anonymously to gather important usage statistics like Pact version and operating system. To disable tracking, set the 'PACT_DO_NOT_TRACK' environment variable to 'true'.
[DEBUG][pact_plugin_driver::plugin_manager] Shutting down all plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment