hiqdev/hiapi-pact

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

This package is auto-updated.

Last update: 2024-10-11 02:12:35 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