niklongstone / behat-scenario-file-line
一个Behat输出格式化工具,显示场景文件名和行号列表
dev-master
2016-07-26 17:25 UTC
Requires (Dev)
- behat/behat: ~3.0.6
- phpspec/phpspec: ^3.0
This package is not auto-updated.
Last update: 2024-09-19 14:36:54 UTC
README
一个Behat 3输出格式化工具,显示带有文件名和行号的场景列表。
例如:feature/feature/MyScenario/login.feature:2
安装
通过Composer安装库
composer require niklongstone/behat-scenario-file-line:dev-master
将格式化工具添加到您的behat.yml
default:
formatters:
fileline: true
extensions:
FileLineFormatter\FileLineFormatterExtension:
name: fileline
base_path: %paths.base%
从命令行运行
bin/behat --dry-run
以列出带行号的场景文件。