Sha256: a2dc845916746a6df86165cd3325e37467a5d08dc25e876a41cac65530cff933

Contents?: true

Size: 832 Bytes

Versions: 3

Compression:

Stored size: 832 Bytes

Contents

Feature: Nested Steps in I18n

  Background:
    Given a scenario with a step that looks like this in japanese:
      """gherkin
      前提 two turtles
      """
    And a step definition that looks like this:
      """ruby
      # -*- coding: utf-8 -*-
      # frozen_string_literal: true
      前提 /a turtle/ do
        puts "turtle!"
      end
      """

  @todo-windows
  Scenario: Use #steps to call several steps at once
    Given a step definition that looks like this:
      """ruby
      # -*- coding: utf-8 -*-
      # frozen_string_literal: true
      前提 /two turtles/ do
        steps %{
          前提 a turtle
          かつ a turtle
        }
      end
      """
    When I run the feature with the progress formatter
    Then the output should contain:
      """
      turtle!

      turtle!

      """

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber-3.0.1 features/docs/defining_steps/nested_steps_i18n.feature
cucumber-3.0.0 features/docs/defining_steps/nested_steps_i18n.feature
cucumber-3.0.0.pre.2 features/docs/defining_steps/nested_steps_i18n.feature