I am trying to implement PactNet contract tests on our provider project. However the issue is that we are using a Minimal API so instead of having a S ...
I am trying to implement PactNet contract tests on our provider project. However the issue is that we are using a Minimal API so instead of having a S ...
I have followed the examples on https://github.com/pact-foundation/pact-net#verifying-a-provider using version 4.0.0. My problem is that tests are fai ...
I'm trying to write contract tests for an object that contains a dictionary of objects. I want to verify the entries respect my contract. The keys are ...
I've downloaded PactNet and PactNet.Windows NuGet packages. But Consumer.tests.ApiTest.cs code has this compiler error. I'm unable to clone GitHub rep ...
I am currently not able to create contracts for the API calls that takes JsonPatchDocument object as body in PATCH request. Although I tried to build ...
I am trying to send an HTTP Post request from my test method to my Pactnet mock service. The following is the log generated - [INFO][pact_mock_server ...
I am new to PACT and trying to use pact-net for contract testing for a .net microservice. I understand the concept of consumer test which generates a ...
This is what my Pact class looks like, you can see the PactDir is specified. When the test passes, it only creates the log folder/file but not the pac ...
In my pactnet consumer test, I state the contract as follows: When the contract file is generated it has the following name: my.consumer.applicatio ...
I'm trying to write a contract test using PactNet for the following method: I created the following ConsumerPactTests.cs and ConsumerPactClassFixtu ...
I have a service that receives a request, generates an email, saves the email to message queue (to be sent by other microservice) and returns httpStat ...
I started learning Pact via a tutorial that used a single .json file that tested a basic API interaction. Now I want to start organising my PACTs by s ...
I have the below pact file with following interactions There is a chance fixtureNumber can be null. Please could you let me know a matcher that wou ...
i am trying to run Pact broker can i deploy tool with paramaters which is working fine locally but when i add the build step in TeamCity it is throwin ...
I have a consumer that has successfully created a pact file: The problem is the test for the provider. It gets a 404 for /CoolPersonService/pe ...
In the (Ruby) documentation of Pact, there is the possibility to add a Provider base-state in the provider states. I'm using Pact.Net and use Provider ...
I am researching tools for Component Testing for Microservices in the dotnetcore world. Along with Component Testing I am planning to do Contract Te ...
I am using pactNet to test an API which should return an array of a flexible length. If i call "myApi/items/" it should return a list of items where ...
I am trying to get my head about PACT and I am using the PACT-Net library to achieve this. My tests on the Consumer are working fine but I am trying ...
I have a doubt about about whether I should consider a certain type of test functional or contract. Let's say I have an API like /getToolType, that ...