lib/gurke/runner.rb in gurke-3.2.2 vs lib/gurke/runner.rb in gurke-3.3.1
- old
+ new
@@ -32,9 +32,13 @@
features = builder.load(files.map {|file, _| file })
features.filter(options, files).run self, reporter
end
+ def retries(scenario)
+ scenario.flaky? ? config.flaky_retries : config.default_retries
+ end
+
def hook(scope, world, context, &block)
config.hooks[scope].run world, context, &block
end
def with_filtered_backtrace