Rspec 为 --bisect 抛出无效选项
Rspec throws invalid option for --bisect
我想在我的测试中使用 --bisect
选项 (https://relishapp.com/rspec/rspec-core/docs/command-line/bisect),但它不起作用。
$ rspec --bisect=verbose
invalid option: --bisect=verbose
$ rspec --bisect
invalid option: --bisect
$ rspec --seed 1234 --bisect
invalid option: --bisect
你能帮我弄清楚为什么它不起作用吗?
bisect
选项仅添加到 3.3 中的 RSpec,如此处的变更日志所示:
https://github.com/rspec/rspec-core/blob/v3.3.0/Changelog.md
Add --bisect CLI option, which will repeatedly run your suite in order to isolate the failures to the smallest reproducible case. (Myron Marston, #1917)
我想在我的测试中使用 --bisect
选项 (https://relishapp.com/rspec/rspec-core/docs/command-line/bisect),但它不起作用。
$ rspec --bisect=verbose
invalid option: --bisect=verbose
$ rspec --bisect
invalid option: --bisect
$ rspec --seed 1234 --bisect
invalid option: --bisect
你能帮我弄清楚为什么它不起作用吗?
bisect
选项仅添加到 3.3 中的 RSpec,如此处的变更日志所示:
https://github.com/rspec/rspec-core/blob/v3.3.0/Changelog.md
Add --bisect CLI option, which will repeatedly run your suite in order to isolate the failures to the smallest reproducible case. (Myron Marston, #1917)