Sha256: 4202d48c03c574774d3ec1355159f1f0c2b16632a716fc186818e9174b9c1371

Contents?: true

Size: 799 Bytes

Versions: 5

Compression:

Stored size: 799 Bytes

Contents

require "capybara"
Dir[File.expand_path("../*.rb", __FILE__)].each { |f| require f }

Cascadence.config do |config|
  # Cascadence supports parallelism when running your flows.
  # Each file that ends with _flow.rb will be treated as an
  # individual flow that you want cascadence to run. It is
  # highly recommended that you set max_thread_count to a 
  # reasonably small number since running firefox instances
  # tend to be fairly expensive
  config.parallel = false
  config.max_thread_count = 4

  # The zero_state_generator creates the initial state used
  # by your flows. Global configs here is just the default
  # generator used in the event specific generators are not
  # provided in the individual flows.
  config.zero_state_generator = lambda { Capybara::Session.new :selenium }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cascadence-0.4.5 lib/cascadence/templates/flow_helper.rb.tt
cascadence-0.4.4 lib/cascadence/templates/flow_helper.rb.tt
cascadence-0.4.3 lib/cascadence/templates/flow_helper.rb.tt
cascadence-0.3.0 lib/cascadence/templates/flow_helper.rb.tt
cascadence-0.2.4 lib/cascadence/templates/flow_helper.rb.tt