hiqdev / hiapi-pact
HiAPI pact
dev-master
2020-01-10 15:26 UTC
Requires
- hiqdev/hiapi-legacy: dev-master
- hiqdev/hipanel-hiart: dev-master
- hiqdev/yii2-hiart: dev-master
Requires (Dev)
- hiqdev/hidev-hiqdev: dev-master
- hiqdev/hidev-php: dev-master
- mockery/mockery: ^1.0
- pact-foundation/pact-php: ^5.0
- phpunit/phpunit: ^7.1
This package is auto-updated.
Last update: 2024-11-11 02:22:52 UTC
README
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