computablefacts/behat-contexts
Composer 安装命令:
composer create-project computablefacts/behat-contexts
包简介
Contexts ready to use with Behat.
关键字:
README 文档
README
Different contexts ready to use with Behat for testing our projects.
This Behat context is inspire by Imbo Behat API Extension that is great to test REST API with Behat.
When using Laravel to develop a REST API, we want to be able to use Laravel testing framework (like Facade) but Imbo Behat API Extension use the Guzzle HTTP Client. It's why we create this Behat context that have the same Behat steps than Imbo Behat API Extension but use the Laracast Behat Laravel Extension to have access to the Laravel Framework.
Installation
The easiest way to install is by using Composer:
$> composer require --dev computablefacts/behat-contexts
Usage
ApiContext
It's the main class. You can extend this class for your Behat context:
<?php use ComputableFacts\Behat\Context\Laravel\ApiContext as CfApiContext; class ApiContext extends CfApiContext { // ... }
TODO
统计信息
- 总下载量: 105
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2019-10-29