Sha256: 320c3bd22f2d3665cd58649a86acbdd500b5660882df0946f24e8003bd19f46a

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 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 created a project called "my_project"
    When I run bundle exec 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 created a project called "my_project"
    And I have appended "gem 'cucumber'" to "my_project/Gemfile"
    And I have created a file called "my_project/cucumber.yml" containing:
      """
      default: --tags ~@wip
      wip: --tags @wip --wip
      """
    When I run bundle exec 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 created a project called "my_project"
    And I have appended "gem 'cucumber'" to "my_project/Gemfile"
    And I have created a file called "my_project/cucumber.yml" containing ""
    When I run bundle exec 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.5.1 features/cucumber.feature
shoe-0.5.0 features/cucumber.feature