datasift/behat-extension
Composer 安装命令:
composer require --dev datasift/behat-extension
包简介
Library to test end-to-end RESTful services using Behat
README 文档
README
Description
This behat extension provides utility classes to test end-to-end RESTful services using behat.
Installation
Begin by installing this package through Composer. Edit your project's composer.json file to require datasift/behat-extension.
If you need support for Guzzle 4-5, use testrest-extension 4.x.
"require-dev": {
"datasift/testrest-extension": "4.*"
}
If you need support for Guzzle 6, use testrest-extension 5.x.
"require-dev": {
"datasift/testrest-extension": "5.*"
}
Next, update Composer from the Terminal:
composer update
Activate extension by specifying its class in your behat.yml:
# behat.yml default: extensions: DataSift\BehatExtension: base_url: http://localhost:8080/ suites: default: contexts: - 'DataSift\BehatExtension\Context\RestContext'
Database
Supported Drivers
- mysql
- sqlite
Cache
Supported drivers
- memcached
Mountebank
File
Testing
To test the library itself, run the tests:
composer test
Contributing
Please see CONTRIBUTING for details.
Credits And Developer Contacts
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 10.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-15