module SmartProxyDynflowCore::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(&block)
click to toggle source
# File lib/smart_proxy_dynflow_core/testing.rb, line 13 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 block.call(config) if block end end