lib/cucumber/configuration.rb in cucumber-4.0.0.rc.3 vs lib/cucumber/configuration.rb in cucumber-4.0.0.rc.4
- old
+ new
@@ -1,10 +1,11 @@
# frozen_string_literal: true
require 'cucumber/constantize'
require 'cucumber/cli/rerun_file'
require 'cucumber/events'
+require 'cucumber/messages'
require 'cucumber/core/event_bus'
require 'cucumber/core/test/result'
require 'forwardable'
require 'cucumber'
@@ -238,9 +239,13 @@
self
end
def event_bus
@options[:event_bus]
+ end
+
+ def id_generator
+ @id_generator ||= Cucumber::Messages::IdGenerator::UUID.new
end
private
def default_options