GitHub
08/13/2023, 11:11 AMConsumer.Tests.csproj)
• Run all tests
• Only first test in class will pass, exception is thrown for rest 😞
Exception:
PactNet.Exceptions.PactFailureException : Unable to perform the given action. The interop call indicated failure
at PactNet.Drivers.InteropActionExtensions.CheckInteropSuccess(Boolean success) in D:\Repos\pact-net\src\PactNet\Drivers\InteropActionExtensions.cs:line 19
at PactNet.Drivers.HttpInteractionDriver.GivenWithParam(String description, String name, String value) in D:\Repos\pact-net\src\PactNet\Drivers\HttpInteractionDriver.cs:line 41
at PactNet.RequestBuilder.Given(String providerState, IDictionary`2 parameters) in D:\Repos\pact-net\src\PactNet\RequestBuilder.cs:line 424
at PactNet.RequestBuilder.PactNet.IRequestBuilderV4.Given(String providerState, IDictionary`2 parameters) in D:\Repos\pact-net\src\PactNet\RequestBuilder.cs:line 291
at Consumer.Tests.OrdersClientTests.GetOrderAsync_WhenCalled_ReturnsOrder() in D:\Repos\pact-net\samples\OrdersApi\Consumer.Tests\OrdersClientTests.cs:line 46
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at NUnit.Framework.Internal.ContextUtils.DoIsolated(ContextCallback callback, Object state)
at NUnit.Framework.Internal.ContextUtils.DoIsolated[T](Func`1 func)
at NUnit.Framework.Internal.Execution.SimpleWorkItem.PerformWork()
-----
One or more child tests had errors
Exception doesn't have a stacktrace
pact-foundation/pact-net