Module: Acouchi::Cucumber

Defined in:
lib/acouchi/cucumber.rb

Class Method Summary collapse

Class Method Details

.afterObject



21
22
23
# File 'lib/acouchi/cucumber.rb', line 21

def self.after
  @test_runner.stop
end

.beforeObject



15
16
17
18
19
# File 'lib/acouchi/cucumber.rb', line 15

def self.before
  @test_runner = TestRunner.new(@configuration)
  @test_runner.start
  @page = Solo.new(@configuration)
end

.pageObject



11
12
13
# File 'lib/acouchi/cucumber.rb', line 11

def self.page
  @page
end

.prepare(configuration) ⇒ Object



25
26
27
# File 'lib/acouchi/cucumber.rb', line 25

def self.prepare configuration
  @configuration = configuration
end