hiqdev/hiapi-pact

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

HiAPI pact

dev-master 2020-01-10 15:26 UTC

This package is auto-updated.

Last update: 2021-10-10 19:28:14 UTC


README

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