Sha256: 891363879866d4cbba288164bde5f86ed70456ed8acc71694c7a6708914fe6df

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

Feature: Cucumber
  In order to use cucumber conveniently
  As a developer
  I want shoe to give me a rake task

  Scenario: Running rake --tasks in a shoe project without Cucumber features
    Given I have run shoe my_project inside "."
    When I run rake --tasks inside "my_project"
    Then I should not see "rake cucumber" on standard out

  Scenario: Running rake --tasks in a shoe project with Cucumber features
    Given I have run shoe my_project inside "."
    And I have run git init inside "."
    And I have created a file called "my_project/cucumber.yml" containing:
      """
      default: --tags ~@wip
      wip: --tags @wip --wip
      """
    When I run rake --tasks inside "my_project"
    Then I should see "rake cucumber" on standard out
    And I should see "rake cucumber:wip" on standard out

  Scenario: Running rake --tasks in a shoe project with a bad cucumber.yml
    Given I have run shoe my_project inside "."
    And I have created a file called "my_project/cucumber.yml" containing ""
    When I run rake --tasks inside "my_project"
    Then I should not see "rake cucumber" on standard out

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoe-0.6.1 features/cucumber.feature
shoe-0.6.0 features/cucumber.feature