From 328cf8faa0ed6cf7520c61e5e9017c8d56522984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Rasmusson?= Date: Sun, 30 Aug 2026 19:40:53 +0200 Subject: [PATCH] Pass the retry_total_tests configuration option to the runner --- lib/cucumber/runtime.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?