Sha256: d207648bc2c3b5bbf0ed1aa7864f145292a263f056d056339b67f76b2a1a64e2

Contents?: true

Size: 906 Bytes

Versions: 2

Compression:

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

2 entries across 2 versions & 1 rubygems

Version Path
chemistrykit-3.9.1 features/exit_status.feature
chemistrykit-3.9.0 features/exit_status.feature