Closed alex-zinich closed 1 year ago
Could you attach the contents of the directory and the output logs at Debug level please?
I assume that no matching pact files are being found due to naming differences or something, but the logs should tell us.
Have you edited the file name or the file contents? Neither of those match your test so wouldn't be used.
For example, the file says 'User_API' (with an underscore) whilst the test says 'User API' (with a space).
The file name is also not in the expected format of 'Consumer-Provider.json'
Thanks a lot! I don't knew about strong naming in test file, "provider" section When I changed User API to User_API everything started working
I have one pact test on my provider. I have a folder with different contracts with Consumer. When I run the test, it always passes, I tried changing the expected result in the contract, but the test still passed. After researching, I realized that the test does not send http requests, so it always passes. The folder is not empty, it has the contract files. When I used another method: WithFileSource, the test started sending http requests and working.