Sha256: df20868e8a65cce0cfcd62391d4633c009820801eb5df166e407f29a765b2e2d

Contents?: true

Size: 850 Bytes

Versions: 17

Compression:

Stored size: 850 Bytes

Contents

Feature: Initialize a global configuration
  In order to configure chemistrykit
  As a chemistry kit harness developer
  I want to specify configurations in a central file so they are available in test scripts

  Scenario: Use a configuration option in a beaker
    Given I run `ckit new global-config-test`
    And I cd to "global-config-test"
    And a file named "beakers/test_beaker.rb" with:
    """
    describe "Cheese", :depth => 'shallow' do
      it "loads an external web page" do
        @driver.get @config.base_url
        @driver.title.should include("Google")
      end
    end
    """
    And I overwrite config.yaml with:
    """
    base_url: http://www.google.com
    selenium_connect:
        log: 'evidence'
        host: 'localhost'
    """
    When I run `ckit brew`
    Then the stdout should contain "1 example, 0 failures"

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
chemistrykit-3.9.0.rc3 features/global-config.feature
chemistrykit-3.9.0.rc2 features/global-config.feature
chemistrykit-3.9.0.rc1 features/global-config.feature
chemistrykit-3.8.1 features/global-config.feature
chemistrykit-3.8.0 features/global-config.feature
chemistrykit-3.7.0 features/global-config.feature
chemistrykit-3.6.0 features/global-config.feature
chemistrykit-3.5.0 features/global-config.feature
chemistrykit-3.4.2 features/global-config.feature
chemistrykit-3.4.1 features/global-config.feature
chemistrykit-3.4.0 features/global-config.feature
chemistrykit-3.3.1 features/global-config.feature
chemistrykit-3.3.0 features/global-config.feature
chemistrykit-3.2.0 features/global-config.feature
chemistrykit-3.1.0 features/global-config.feature
chemistrykit-3.0.1 features/global-config.feature
chemistrykit-3.0.0 features/global-config.feature