Sha256: 1821abcba05f6a6baca7dfccecf021dae6cdb26cb3a9d0ef76e6ef07e5baa1ea

Contents?: true

Size: 441 Bytes

Versions: 5

Compression:

Stored size: 441 Bytes

Contents

Before do
  Acouchi::Cucumber.before
end

After do
  Acouchi::Cucumber.after
end

module Acouchi
  module Cucumber
    def self.page
      @page
    end

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

    def self.after
      @test_runner.stop
    end

    def self.prepare configuration
      @configuration = configuration
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
acouchi-0.0.14 lib/acouchi/cucumber.rb
acouchi-0.0.13 lib/acouchi/cucumber.rb
acouchi-0.0.12 lib/acouchi/cucumber.rb
acouchi-0.0.11 lib/acouchi/cucumber.rb
acouchi-0.0.10 lib/acouchi/cucumber.rb