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.

nested_steps_i18n.feature 815 B

2 years ago
123456789101112131415161718192021222324252627282930313233343536
  1. Feature: Nested Steps in I18n
  2. Background:
  3. Given a scenario with a step that looks like this in japanese:
  4. """gherkin
  5. 前提 two turtles
  6. """
  7. And a step definition that looks like this:
  8. """ruby
  9. # -*- coding: utf-8 -*-
  10. # frozen_string_literal: true
  11. 前提 /a turtle/ do
  12. log "turtle!"
  13. end
  14. """
  15. Scenario: Use #steps to call several steps at once
  16. Given a step definition that looks like this:
  17. """ruby
  18. # -*- coding: utf-8 -*-
  19. # frozen_string_literal: true
  20. 前提 /two turtles/ do
  21. steps %{
  22. 前提 a turtle
  23. かつ a turtle
  24. }
  25. end
  26. """
  27. When I run the feature with the progress formatter
  28. Then the output should contain:
  29. """
  30. turtle!
  31. turtle!
  32. """

No Description

Contributors (1)