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.

summary_formatter.feature 777 B

2 years ago
123456789101112131415161718192021222324252627282930313233
  1. Feature: Spec formatter
  2. This formatter mimics the output from tools like RSpec or Mocha, giving an
  3. overview of each feature and scenario but omitting the steps.
  4. Background:
  5. Given the standard step definitions
  6. Scenario: A couple of scenarios
  7. Given a file named "features/test.feature" with:
  8. """
  9. Feature: Test
  10. Scenario: Passing
  11. Given this step passes
  12. Scenario: Failing
  13. Given this step fails
  14. """
  15. When I run `cucumber --format summary --publish-quiet`
  16. Then it should fail with exactly:
  17. """
  18. Test
  19. Passing ✓
  20. Failing ✗
  21. Failing Scenarios:
  22. cucumber features/test.feature:5 # Scenario: Failing
  23. 2 scenarios (1 failed, 1 passed)
  24. 2 steps (1 failed, 1 passed)
  25. 0m0.012s
  26. """

No Description

Contributors (1)