在cucumberjs,量angular器快速失败
我添加了失败的快速到我的cucumberOpts如下:
cucumberOpts: { require: [ conf.paths.e2e + '/utilities/hooks.js', ], format: 'pretty', 'fail-fast': true },
我有我所有的testing在这样的path:C:/testing/ *。function
我像这样运行我的testing: protractor protractor.conf.js
这工作正常,因为它会在出现错误时立即停止testing。 但是我正在使用像Bamboo这样的CI服务器运行这些testing,我希望能够提供快速的反馈,同时继续运行其余的testing。
所以,如果我4 tests in total
有4 tests in total
, if the first test fails
, I want to fail-fast on that first test
if the first test fails
,那么I want to continue running the other 3 tests/feature files
。
现在正在做什么,我不喜欢,只要一次testing失败,就会失败,并且不会运行任何其他function文件。
任何想法 ?
我认为这是量angular器4版本的问题。
你可以降级版本量angular器3.3.0,并检查它是否按预期工作?
一些问题在量angular器,cucumberjs和其他库中:
-
https://github.com/mattfritz/protractor-cucumber-framework/issues/56
-
https://github.com/igniteram/protractor-cucumber-allure/issues/3
我希望他们能在下一个版本中尽快解决这个问题。