zayon/behat-gather-context-extension
最新稳定版本:v0.0.3
Composer 安装命令:
composer require zayon/behat-gather-context-extension
包简介
A Behat extension to automatically gather contexts
README 文档
README
Table of contents
Installation
Compatible with PHP 7.4 and later.
Compatible with Behat 3.0.0 and later
- Require this extension using Composer
composer require --dev zayon/behat-gather-context-extension
- Enable it within your Behat configuration:
# behat.yaml.dist / behat.yaml default: extensions: Zayon\BehatGatherContextExtension\ContextGathererExtension: ~
Usage
<?php # tests/Behat/DemoContext.php namespace Acme\Tests\Behat; use Behat\Behat\Context\Context; final class DemoContext implements Context { // a beforeScenario hook will automatically be created to gather AnotherContext private AnotherContext $anotherContext; }
Versioning and release cycle
This package follows semantic versioning.
License
This extension is completely free and released under permissive MIT license.
统计信息
- 总下载量: 8.58k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-24