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.

getting_started.feature 850 B

2 years ago
1234567891011121314151617181920212223242526
  1. Feature: Getting started
  2. To get started, just open a command prompt in an empty directory and run
  3. `cucumber`. You'll be prompted for what to do next.
  4. Scenario: Run Cucumber in an empty directory
  5. Given a directory without standard Cucumber project directory structure
  6. When I run `cucumber`
  7. Then it should fail with:
  8. """
  9. No such file or directory - features. You can use `cucumber --init` to get started.
  10. """
  11. Scenario: Accidentally run Cucumber in a folder with Ruby files in it.
  12. Given a directory without standard Cucumber project directory structure
  13. And a file named "should_not_load.rb" with:
  14. """
  15. log 'this will not be shown'
  16. """
  17. When I run `cucumber`
  18. Then the exit status should be 2
  19. And the output should not contain:
  20. """
  21. this will not be shown
  22. """

No Description

Contributors (1)