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.

skip_scenario.feature 682 B

2 years ago
123456789101112131415161718192021222324252627282930
  1. Feature: Skip Scenario
  2. Scenario: With a passing step
  3. Given a file named "features/test.feature" with:
  4. """
  5. Feature: test
  6. Scenario: test
  7. Given this step says to skip
  8. And this step passes
  9. """
  10. And the standard step definitions
  11. And a file named "features/step_definitions/skippy.rb" with:
  12. """
  13. Given /skip/ do
  14. skip_this_scenario
  15. end
  16. """
  17. When I run `cucumber -q`
  18. Then it should pass with exactly:
  19. """
  20. Feature: test
  21. Scenario: test
  22. Given this step says to skip
  23. And this step passes
  24. 1 scenario (1 skipped)
  25. 2 steps (2 skipped)
  26. """

No Description

Contributors (1)