Answer by Beth Skurrie for Contract Tests for APIs which involve session or...
Use provider states to set up the right data in the cart so that when you call checkout, you get the behaviour you want. Here's the documentation from pact.io on provider states.Each interaction in a...
View ArticleContract Tests for APIs which involve session or workflow
Hi I am trying to write Contract Tests for a product purchase workflow. So obviously i cannot call the Checkout API directly without calling Add to Cart API.But as I have observed the verification hits...
View Article
More Pages to Explore .....