Contract Testing Tools and Versioning

#184 - Contract Testing Essentials: A Comprehensive Guide - Lewis Prescott

Topic 6 of 9

Published Jul 22, 2024 · Clip 37:18–42:19 (5:01)

Lewis recommends Pact as the go-to starting tool due to broad language support on a Ruby core, noting alternatives like Postman, Mountebank, Sauce Labs, and Testsigma, but emphasizing you don't strictly need a tool—contracts can be shared via a GitHub or local folder. He then explains Pact's versioning support: every generated contract is a new version, tags mark branches and environments, and the Pact broker provides a matrix showing which consumer versions are verified against which provider versions, enabling isolated development against production versions.