I recently had to set up Pact tests in an Angular application which I’m currently working on and it hasn’t been so easy as it looks. So I’ve decided to write my first article to describe each step and make it easier for you. As it’s my first time writing a blog post, please be indulgent 😌
To start with, let’s first succinctly define what’s a Pact and its purpose.
Pact is a code-first tool for testing HTTP and message integrations using contract tests. Contract tests assert that inter-application messages conform to a shared understanding that is documented in a contract. …