Class: CukeForker::WebDriver::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/cukeforker-webdriver/runner.rb

Class Method Summary collapse

Class Method Details

.run(features, options) ⇒ Object



4
5
6
7
8
9
10
11
12
# File 'lib/cukeforker-webdriver/runner.rb', line 4

def self.run(features, options)
  max = options.fetch(:max, 2)
  options[:notify] = CukeForker::WebDriver::ParallelPortManager.new(max)

  CukeForker::Runner.run(
      features,
      options
  )
end