Sha256: a5d14f40f30c068972a08e059d5ba82b3d43c588bba107dbd9d4ed12c89ab21e

Contents?: true

Size: 932 Bytes

Versions: 15

Compression:

Stored size: 932 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

  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

15 entries across 15 versions & 1 rubygems

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