Sha256: 949bea0193c88b25db470a2f775b2e91607f70720c3ae754cd668b9330c77a9c

Contents?: true

Size: 898 Bytes

Versions: 3

Compression:

Stored size: 898 Bytes

Contents

Feature: Bootstrapping a new project
  In order to have the best chances of getting up and running with cucumber
  As a new cucumber user
  I want cucumber to give helpful error messages in basic situations

 @spawn
 Scenario: running cucumber against a non-existing feature file
  Given a directory without standard Cucumber project directory structure
    When I run `cucumber`
    Then it should fail with:
      """
      Please create a features directory to get started. (Errno::ENOENT)
      """

 @spawn
 Scenario: does not load ruby files in root if features directory is missing
  Given a directory without standard Cucumber project directory structure
  And a file named "should_not_load.rb" with:
    """
    puts 'this will not be shown'
    """
  When I run `cucumber`
  Then it should fail with:
    """
    Please create a features directory to get started. (Errno::ENOENT)
    """

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber-1.3.20 features/bootstrap.feature
cucumber-1.3.19 features/bootstrap.feature
cucumber-1.3.18 features/bootstrap.feature