Skip to content

hiqdev/hiapi-pact

Repository files navigation

HiAPI PACT

HiAPI PACT

Latest Stable Version Total Downloads Build Status Scrutinizer Code Coverage Scrutinizer Code Quality

How to run test?

First of all you should setup auth_login and auth_password env variables to phpunit.consumer.local.xml Then you should check out the WEB_SERVER_HOST const in phpunit.provider.local.xml

Then run consumer tests to generate pact

  • $ php phpunit --configuration phpunit.consumer.local.xml

After all you can run provider tests

  • $ php phpunit --configuration phpunit.provider.local.xml