diff --git a/lib/cucumber/runtime.rb b/lib/cucumber/runtime.rb index 8a8507c89..afb99e375 100644 --- a/lib/cucumber/runtime.rb +++ b/lib/cucumber/runtime.rb @@ -48,7 +48,7 @@ def run! fire_install_plugin_hook create_formatters - receiver = Test::Runner.new(@configuration.event_bus, @configuration.id_generator, Cucumber::Formatter::BacktraceFilter, @configuration.retry_attempts) + receiver = Test::Runner.new(@configuration.event_bus, @configuration.id_generator, Cucumber::Formatter::BacktraceFilter, @configuration.retry_attempts, @configuration.retry_total_tests) compile features, receiver, filters, @configuration.event_bus fire_after_all_hook unless dry_run? @configuration.notify :test_run_finished, !failure?