我总是autospec
同时运行功能和 RSpec,但在本地计算机上运行所有功能通常很耗时。我会在提交代码之前运行每个功能。
我想在autospec
命令中传递参数。autospec
显然不直接接受论点。这是输出autospec -h
:
autotest [options]
options:
-h
-help You're looking at it.
-v Be verbose.
Prints files that autotest doesn't know how to map to
tests.
-q Be more quiet.
-f Fast start.
Doesn't initially run tests at start.
我确实有一个cucumber.yml
inconfig
目录。我也有rerun.txt
在 Rails 根目录下。cucumber -h
给了我很多关于论点的信息。
如何autospec
针对标记为 的功能运行@wip
?我想我可以利用config/cucumber.yml
. 有配置文件定义。我可以运行cucumber -p wip
以仅运行带有@wip 标记的功能,但我想使用autospec
.
对于使用许多规范和功能文件的任何提示,我将不胜感激。