Sha256: 6ae61cb7d7cefcf26cd4c29f74209c2d0b8cd4edf0c83dd0630a0e2b0e826f41

Contents?: true

Size: 819 Bytes

Versions: 5

Compression:

Stored size: 819 Bytes

Contents

Feature: Cell output

  A cell model's string output is a Gherkin representation of itself and its most relevant attribute for
  inspection is the value of the cell that it models.


  Background:
    Given the following gherkin:
      """
      foo
      """
    And a cell model based on that gherkin
      """
      @model = CukeModeler::Cell.new(<source_text>)
      """


  Scenario: Stringify a cell model
    When the model is output as a string
      """
      @model.to_s
      """
    Then the following text is provided:
      """
      foo
      """

  Scenario: Inspect a cell model
    When the model is inspected
      """
      @model.inspect
      """
    Then the following text is provided:
      """
      #<CukeModeler::Cell:<object_id> @value: "foo">
      """

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cuke_modeler-3.23.0 testing/cucumber/features/modeling/cell_output.feature
cuke_modeler-3.22.0 testing/cucumber/features/modeling/cell_output.feature
cuke_modeler-3.21.0 testing/cucumber/features/modeling/cell_output.feature
cuke_modeler-3.20.1 testing/cucumber/features/modeling/cell_output.feature
cuke_modeler-3.20.0 testing/cucumber/features/modeling/cell_output.feature