module Proxy::Dynflow::Testing
Helper for usage in other dependent plugins that need Dynflow
related things, such as testing instance of world etc.
Public Class Methods
create_world() { |config| ... }
click to toggle source
# File lib/smart_proxy_dynflow/testing.rb, line 14 def create_world(&block) Core.ensure_initialized Core.instance.create_world do |config| config.exit_on_terminate = false config.auto_terminate = false config.logger_adapter = ::Dynflow::LoggerAdapters::Simple.new $stderr, DYNFLOW_TESTING_LOG_LEVEL config.execution_plan_cleaner = nil yield(config) if block end end