Hi Everyone, I was running by provider tests with ...
# pact-net
p
Hi Everyone, I was running by provider tests with pactnet version 3x. I upgraded it to 4x but my tests are failing. Also I'm unable to see the log. Please guide. I tried setting up loglevel to Info as well. but no use. var config = new PactVerifierConfig { Outputters = new List<IOutput> { new XUnitOutput(_output) }, LogLevel = PactLogLevel.Error };
c
Hi Pallavi, where are you looking for your logs? If you are using Visual Studio to run the tests I believe they should be in the test output window
p
@Candy Goodison unfortunately the log in not extensive like, why the test failed. It just says test failed. That's my concern. I tried diff log levels as well nothing seemed to give out exact ans
c
did you try PactLogLevel.Debug? I believe that will be the most detailed. Are you able to share the error message you are getting from it?
p
Sure...I happened to revert back the changes n downgraded my provider to pact 3
I will redo the changes n let you know about the error...Thanks tons
c
good luck, hope you can get the upgrade working
p
I found that many ppl facing issues with 4x provider