hi Team, We are doing a POC using Pactflow in dotn...
# pact-net
m
hi Team, We are doing a POC using Pactflow in dotnet core application, we would like to know what other API testing tools we can use apart from schemathesis(licensed version). We are looking for free version.
b
Hi @Megha Agarwal, apologies for the shameless plug, but have you seen RestAssured .Net? It's a port of Rest Assured in C# I've created, and I think it's doing a pretty decent job of making it easy to write tests for HTTP APIs in C#. I'm working on examples of how to use it together with Pact, by the way, but that'll take me some more time... In the meantime: https://github.com/basdijkstra/rest-assured-net
m
Thanx for the reply @Bas Dijkstra.... Do u have any example where u have used this for Bidirectional Contract testing...... Actually we are facing some challenges while generating verification result from Provider
b
You mean something similar to this? https://github.com/pactflow/example-bi-directional-provider-restassured It's on the roadmap, but there's some features I still need to add to RestAssured .Net first before I can make that work.
m
hi @Bas Dijkstra: I was going through https://github.com/pactflow/example-bi-directional-provider-restassured example, wants to know how are we generating report.txt? It seems it's a static file......
b
Yes, but it's also just an example. You can easily replace that with your own self-produced report, such as a JUnit XML report generated by your test runner of choice (NUnit, xUnit, ....)