Sha256: 15dd99a61b28c4cfb8cac1a17d9a23c9f95aebbf3a3cf72a229a3406da31a450

Contents?: true

Size: 843 Bytes

Versions: 17

Compression:

Stored size: 843 Bytes

Contents

Feature: Loading the steps users expect
  As a User
  In order to run features in subdirectories without having to pass extra options
  I want cucumber to load all step files

  Scenario:
    Given a file named "features/nesting/test.feature" with:
      """
      Feature: Feature in Subdirectory
        Scenario: A step not in the subdirectory
          Given not found in subdirectory
      """
    And a file named "features/step_definitions/steps_no_in_subdirectory.rb" with:
      """
      Given(/^not found in subdirectory$/) { }
      """
    When I run `cucumber -q features/nesting/test.feature`
    Then it should pass with:
      """
      Feature: Feature in Subdirectory

        Scenario: A step not in the subdirectory
          Given not found in subdirectory

      1 scenario (1 passed)
      1 step (1 passed)
      """

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
cucumber-3.0.1 features/docs/cli/finding_steps.feature
cucumber-2.99.0 features/docs/cli/finding_steps.feature
cucumber-3.0.0 features/docs/cli/finding_steps.feature
cucumber-3.0.0.pre.2 features/docs/cli/finding_steps.feature
mobiusloop-0.1.5 features/docs/cli/finding_steps.feature
cucumber-3.0.0.pre.1 features/docs/cli/finding_steps.feature
cucumber-2.4.0 features/docs/cli/finding_steps.feature
mobiusloop-0.1.3 features/docs/cli/finding_steps.feature
mobiusloop-0.1.2 features/docs/cli/finding_steps.feature
cucumber-2.3.3 features/docs/cli/finding_steps.feature
cucumber-2.3.2 features/docs/cli/finding_steps.feature
cucumber-2.3.1 features/docs/cli/finding_steps.feature
cucumber-2.3.0 features/docs/cli/finding_steps.feature
cucumber-2.2.0 features/docs/cli/finding_steps.feature
cucumber-2.1.0 features/docs/cli/finding_steps.feature
cucumber-2.0.2 features/docs/cli/finding_steps.feature
cucumber-2.0.1 features/docs/cli/finding_steps.feature