~/talk

Practical Contract Testing with Pact in PHP

Talkat 4Developers 2021 · 2021-05-24..05-27· [testing, php]
links:none on file
slides:none on file

Consumer-side PHPUnit tests using Pact and Guzzle generate a JSON pact file; the mock server simulates the provider and the pact provider verifier downloads that pact and runs it against a Laravel provider instance — initial verification fails until a hard‑coded /products endpoint is added, then verification passes. Matcher-based matching rules replace strict arrays to allow multiple products. Flow can publish versioned pacts to a Pact broker for CI and documentation.

AI-written summary · about

  1. 0:00Introduction to pact
  2. 1:40Contract testing concepts
  3. 4:36Tooling and workflow
  4. 10:01Understanding pact components
  5. 15:09How pact works
  6. 20:16Live coding session
  7. 40:29Benefits and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.