vivait / scrutinizer-formatter
此包已被废弃且不再维护。未建议替代包。
为PHPSpec创建格式化器,以在Scrutinizer中对文件显示失败的场景
1.0.2
2014-06-26 08:28 UTC
Requires
- php: >=5.3
- phpspec/phpspec: dev-master
This package is not auto-updated.
Last update: 2020-01-20 03:18:16 UTC
README
为PHPSpec创建格式化器,以在Scrutinizer中对文件显示失败的场景
使用方法
为了运行您的PHPSpec测试并让Scrutinizer显示任何失败的场景与相应的spec文件,请在您的构建配置中添加以下内容
before_commands: - "composer install" tools: custom_commands: - scope: file command: vendor/phpspec/phpspec/bin/phpspec run %pathname% -f scrutinizer --no-code-generation || true
在您的 phpspec.yml 中添加以下内容
extensions:
- Vivait\ScrutinizerFormatterExtension\Extension