You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

finding_steps.feature 843 B

2 years ago
12345678910111213141516171819202122232425262728
  1. Feature: Loading the steps users expect
  2. As a User
  3. In order to run features in subdirectories without having to pass extra options
  4. I want cucumber to load all step files
  5. Scenario:
  6. Given a file named "features/nesting/test.feature" with:
  7. """
  8. Feature: Feature in Subdirectory
  9. Scenario: A step not in the subdirectory
  10. Given not found in subdirectory
  11. """
  12. And a file named "features/step_definitions/steps_no_in_subdirectory.rb" with:
  13. """
  14. Given(/^not found in subdirectory$/) { }
  15. """
  16. When I run `cucumber -q features/nesting/test.feature`
  17. Then it should pass with:
  18. """
  19. Feature: Feature in Subdirectory
  20. Scenario: A step not in the subdirectory
  21. Given not found in subdirectory
  22. 1 scenario (1 passed)
  23. 1 step (1 passed)
  24. """

No Description

Contributors (1)