Skip to content

gelaru/pact-php-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of how to use pact using php

Consumer

Using a test listener, you can publish the generated pacts automatically, simply run the consumer tests with:

./vendor/bin/phpunit --testsuite consumer

All you need to do is to set your pact broker address in the phpunit.xml

Broker

You can get a pact broker from https://github.com/DiUS/pact_broker-docker

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages