Sha256: 5f79fd82dd40fa18f707bcd022349296da8870637ab958be2095cd37da896920

Contents?: true

Size: 891 Bytes

Versions: 3

Compression:

Stored size: 891 Bytes

Contents

Feature: Getting started

  To get started, just open a command prompt in an empty directory and run 
  `cucumber`. You'll be prompted for what to do next.

  @spawn @todo-windows
  Scenario: Run Cucumber in an empty directory
    Given a directory without standard Cucumber project directory structure
    When I run `cucumber`
    Then it should fail with:
      """
      No such file or directory - features. You can use `cucumber --init` to get started.
      """

  @todo-windows
  Scenario: Accidentally run Cucumber in a folder with Ruby files in it.
    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 the exit status should be 2
    And the output should not contain:
      """
      this will not be shown

      """

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber-3.0.1 features/docs/getting_started.feature
cucumber-3.0.0 features/docs/getting_started.feature
cucumber-3.0.0.pre.2 features/docs/getting_started.feature