495 B
495 B
behat
一种用于行为驱动开发的 PHP 框架。 更多信息:https://behat.org。
- 初始化一个新的 Behat 项目:
behat --init
- 运行所有测试:
behat
- 从指定的套件中运行所有测试:
behat --suite {{suite_name}}
- 使用特定的输出格式化器运行测试:
behat --format {{pretty|progress}}
- 运行测试并将结果输出到文件:
behat --out {{path/to/file}}
- 列出测试套件中的定义:
behat --definitions