Sha256: 36601b13ee7e0e2b6e5260945d5dcf6630dadba16da94488b59b41761c590068

Contents?: true

Size: 944 Bytes

Versions: 2

Compression:

Stored size: 944 Bytes

Contents

Feature: Exit Status

  Background:
    Given I run `ckit new cheese`
    And I cd to "cheese"
    And a file named "config.yaml" with:
      """
      selenium_connect:
          log: 'evidence'
          host: 'localhost'
      """

  Scenario: Passing
    And a file named "beakers/test_beaker.rb" with:
    """
    describe "Cheese", :depth => 'shallow' do
      it "loads an external web page" do
        @driver.get "http://www.google.com"
        @driver.title.should include("Google")
      end
    end
    """
    When I run `ckit brew`
    Then the exit code should be 0

  @announce
  Scenario: Failing
    And a file named "beakers/test_beaker.rb" with:
    """
    describe "Cheese", :depth => 'shallow' do
      it "loads an external web page" do
        @driver.get "http://www.google.com"
        @driver.title.should_not include("Google")
      end
    end
    """
    When I run `ckit brew`
    Then the exit code should be 1

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chemistrykit-3.9.0.rc2 features/exit_status.feature
chemistrykit-3.9.0.rc1 features/exit_status.feature