https://github.com/hiqdev/hiapi-pact
HiAPI PACT
https://github.com/hiqdev/hiapi-pact
hacktoberfest
Last synced: 12 months ago
JSON representation
HiAPI PACT
- Host: GitHub
- URL: https://github.com/hiqdev/hiapi-pact
- Owner: hiqdev
- License: bsd-3-clause
- Created: 2019-12-05T17:24:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T15:26:46.000Z (over 6 years ago)
- Last Synced: 2024-05-04T07:02:16.604Z (about 2 years ago)
- Topics: hacktoberfest
- Language: PHP
- Size: 13.7 KB
- Stars: 4
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HiAPI PACT
**HiAPI PACT**
[](https://packagist.org/packages/hiqdev/hiapi-pact)
[](https://packagist.org/packages/hiqdev/hiapi-pact)
[](https://travis-ci.org/hiqdev/hiapi-pact)
[](https://scrutinizer-ci.com/g/hiqdev/hiapi-pact/)
[](https://scrutinizer-ci.com/g/hiqdev/hiapi-pact/)
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`